mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
174 lines
4.6 KiB
Text
174 lines
4.6 KiB
Text
[gd_scene load_steps=22 format=3 uid="uid://l84on3kv2s52"]
|
|
|
|
[ext_resource type="Script" uid="uid://dwry0643yvdiv" path="res://Scripts/Door.cs" id="1_emfh4"]
|
|
[ext_resource type="Texture2D" uid="uid://d4ialp36plt7v" path="res://Sprites/Actors/Doors/horizontal_door_1.png" id="2_2h3ih"]
|
|
[ext_resource type="Texture2D" uid="uid://desg0e2phtw50" path="res://Sprites/HorizontalDoor.png" id="2_rnx3o"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2qgx7"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w2qco"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3xj8k"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ics4i"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1nga0"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0bwul"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nu0m6"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(160, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4m6na"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_th1qr"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_br2ct"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ektml"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m0l4n"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hcys5"]
|
|
atlas = ExtResource("2_2h3ih")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_keeml"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2qgx7")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Closed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_w2qco")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3xj8k")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ics4i")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1nga0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0bwul")
|
|
}],
|
|
"loop": false,
|
|
"name": &"Closing",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nu0m6")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Destroyed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4m6na")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Open",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_th1qr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_br2ct")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ektml")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_m0l4n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hcys5")
|
|
}],
|
|
"loop": false,
|
|
"name": &"Opening",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0wg11"]
|
|
size = Vector2(32, 32)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f2rl6"]
|
|
size = Vector2(32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o7w0f"]
|
|
atlas = ExtResource("2_rnx3o")
|
|
region = Rect2(0, 96, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_8stvs"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_o7w0f")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="HorizontalDoor" type="Area2D" groups=["Solid"]]
|
|
collision_layer = 64
|
|
collision_mask = 154
|
|
script = ExtResource("1_emfh4")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_keeml")
|
|
animation = &"Closed"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
shape = SubResource("RectangleShape2D_0wg11")
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
gravity_scale = 0.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
|
visible = false
|
|
shape = SubResource("RectangleShape2D_f2rl6")
|
|
|
|
[node name="DoorFrame" type="AnimatedSprite2D" parent="."]
|
|
z_index = 1
|
|
sprite_frames = SubResource("SpriteFrames_8stvs")
|
|
|
|
[connection signal="animation_changed" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_changed"]
|