Added door closing. Fixed death in the air

This commit is contained in:
2026-01-08 00:04:41 +03:00
parent 1ac74e7793
commit e3d0dfb674
10 changed files with 244 additions and 24 deletions
+27 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://g0n5npbt3hb2"]
[gd_scene load_steps=13 format=3 uid="uid://g0n5npbt3hb2"]
[ext_resource type="PackedScene" uid="uid://cojxqx5al7kyv" path="res://game/doors/closed_door.tscn" id="1_amonf"]
[ext_resource type="Texture2D" uid="uid://sfjjweantpja" path="res://images/level/doors.png" id="2_5d3q0"]
@@ -8,6 +8,18 @@
atlas = ExtResource("2_5d3q0")
region = Rect2(0, 96, 32, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_18a0u"]
atlas = ExtResource("2_5d3q0")
region = Rect2(64, 96, 32, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_jx0aw"]
atlas = ExtResource("2_5d3q0")
region = Rect2(32, 96, 32, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_pefjn"]
atlas = ExtResource("2_5d3q0")
region = Rect2(0, 96, 32, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_bcn3i"]
atlas = ExtResource("2_5d3q0")
region = Rect2(64, 96, 32, 48)
@@ -36,6 +48,20 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_18a0u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jx0aw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pefjn")
}],
"loop": false,
"name": &"closing",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bcn3i")
}],
"loop": true,