263 lines
6.7 KiB
Plaintext
263 lines
6.7 KiB
Plaintext
[gd_scene load_steps=33 format=3 uid="uid://cp1y0n681kq8d"]
|
|
|
|
[ext_resource type="Script" path="res://door.gd" id="1_7rkx7"]
|
|
[ext_resource type="Texture2D" uid="uid://duryoldxgqeih" path="res://data/images/Doors.png" id="1_n81fa"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k8y2b"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uvoha"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 48, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vsyc3"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hemfk"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_r6rnf"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uomvw"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_imqt5"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_d06fb"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 48, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wwyt8"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2ty81"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bw5qr"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xl3ey"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f0ok2"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(16, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5y0qi"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(0, 48, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1vvyh"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bhlwq"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 48, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0oxk5"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_31gdc"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uy7ej"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1hu6a"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hvdtk"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cs53w"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 48, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jucfe"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ttpcv"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2d4ft"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vjey0"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hm33r"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(48, 32, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tm71p"]
|
|
atlas = ExtResource("1_n81fa")
|
|
region = Rect2(32, 48, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_uucy3"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_k8y2b")
|
|
}],
|
|
"loop": false,
|
|
"name": &"bottom_door_closed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uvoha")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vsyc3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hemfk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_r6rnf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uomvw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_imqt5")
|
|
}],
|
|
"loop": false,
|
|
"name": &"bottom_door_closing",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_d06fb")
|
|
}],
|
|
"loop": false,
|
|
"name": &"bottom_door_opened",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wwyt8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2ty81")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_bw5qr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xl3ey")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f0ok2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5y0qi")
|
|
}],
|
|
"loop": false,
|
|
"name": &"bottom_door_opening",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1vvyh")
|
|
}],
|
|
"loop": false,
|
|
"name": &"top_door_closed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_bhlwq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0oxk5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_31gdc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uy7ej")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1hu6a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hvdtk")
|
|
}],
|
|
"loop": false,
|
|
"name": &"top_door_closing",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_cs53w")
|
|
}],
|
|
"loop": false,
|
|
"name": &"top_door_opened",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jucfe")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ttpcv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2d4ft")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vjey0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hm33r")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tm71p")
|
|
}],
|
|
"loop": false,
|
|
"name": &"top_door_opening",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_notjl"]
|
|
size = Vector2(16, 16)
|
|
|
|
[node name="Door" type="StaticBody2D"]
|
|
script = ExtResource("1_7rkx7")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(8, 8)
|
|
sprite_frames = SubResource("SpriteFrames_uucy3")
|
|
animation = &"bottom_door_opened"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(8, 8)
|
|
shape = SubResource("RectangleShape2D_notjl")
|
|
|
|
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]
|