91 lines
2.4 KiB
Plaintext
91 lines
2.4 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://dioc4r03dfleq"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cojxqx5al7kyv" path="res://game/doors/locked_door.tscn" id="1_p87ci"]
|
|
[ext_resource type="Script" uid="uid://befuova1g4tth" path="res://game/doors/book_door.gd" id="2_atb6l"]
|
|
[ext_resource type="Texture2D" uid="uid://sfjjweantpja" path="res://images/level/doors.png" id="3_gbgmk"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e14gj"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(0, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gbgmk"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(64, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3d7ts"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(32, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u0yk6"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(0, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g21nq"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(64, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_op86a"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(0, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fw6sy"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(32, 240, 32, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m0nqq"]
|
|
atlas = ExtResource("3_gbgmk")
|
|
region = Rect2(64, 240, 32, 48)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_3d7ts"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_e14gj")
|
|
}],
|
|
"loop": true,
|
|
"name": &"closed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gbgmk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3d7ts")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_u0yk6")
|
|
}],
|
|
"loop": false,
|
|
"name": &"closing",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_g21nq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"open",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_op86a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fw6sy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_m0nqq")
|
|
}],
|
|
"loop": false,
|
|
"name": &"opening",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[node name="BookDoor" instance=ExtResource("1_p87ci")]
|
|
script = ExtResource("2_atb6l")
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="2"]
|
|
sprite_frames = SubResource("SpriteFrames_3d7ts")
|