Добавлен Павший

This commit is contained in:
Евгений Титаренко 2023-08-19 09:30:55 +03:00
parent 7c9a71504c
commit 429fe9b62f
12 changed files with 404 additions and 9 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=26 format=3 uid="uid://dhn7yt46fyac8"]
[gd_scene load_steps=27 format=3 uid="uid://dhn7yt46fyac8"]
[ext_resource type="PackedScene" uid="uid://bhulqhxesd5gc" path="res://prefabs/player.tscn" id="1_65a7v"]
[ext_resource type="AudioStream" uid="uid://bsy2d0bl3lgg0" path="res://sounds/crank.ogg" id="1_cweq4"]
@ -15,6 +15,7 @@
[ext_resource type="PackedScene" uid="uid://bj1ixwjdpnooo" path="res://prefabs/entities/pressure_plate.tscn" id="12_ynt5e"]
[ext_resource type="PackedScene" uid="uid://dqx43vr727ft8" path="res://prefabs/entities/spikes.tscn" id="13_w1hk1"]
[ext_resource type="Script" path="res://scripts/DeathScreen.cs" id="15_12mhe"]
[ext_resource type="PackedScene" uid="uid://bmyjqerhno5vi" path="res://prefabs/enemies/wretched.tscn" id="16_wjfbi"]
[sub_resource type="Curve" id="Curve_o5byr"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
@ -26,7 +27,7 @@ light_mode = 2
[sub_resource type="ShaderMaterial" id="ShaderMaterial_m680d"]
shader = ExtResource("5_64d71")
[sub_resource type="ViewportTexture" id="ViewportTexture_slh0c"]
[sub_resource type="ViewportTexture" id="ViewportTexture_pqovb"]
viewport_path = NodePath("FlashlightViewport")
[sub_resource type="CircleShape2D" id="CircleShape2D_prnh4"]
@ -122,7 +123,7 @@ CameraBounds = Vector2(30, 20)
[node name="PointLight2D" type="PointLight2D" parent="PlayerCamera" node_paths=PackedStringArray("LightViewport")]
blend_mode = 2
range_item_cull_mask = 2
texture = SubResource("ViewportTexture_slh0c")
texture = SubResource("ViewportTexture_pqovb")
script = ExtResource("6_slohe")
LightViewport = NodePath("../../FlashlightViewport")
@ -227,4 +228,19 @@ Enabled = true
SpikesTimeout = 0.5
StartOffset = 0.5
[node name="Wretched" parent="." instance=ExtResource("16_wjfbi")]
position = Vector2(-84, 12)
[node name="Wretched2" parent="." instance=ExtResource("16_wjfbi")]
position = Vector2(-108, 30)
Facing = 2
[node name="Wretched3" parent="." instance=ExtResource("16_wjfbi")]
position = Vector2(-64, 29)
Facing = 0
[node name="Wretched4" parent="." instance=ExtResource("16_wjfbi")]
position = Vector2(-85, 51)
Facing = 1
[connection signal="timeout" from="CanvasLayer/DeathScreen/Timer" to="CanvasLayer/DeathScreen" method="Timeout"]