mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
216 lines
6.2 KiB
Text
216 lines
6.2 KiB
Text
[gd_scene load_steps=29 format=3 uid="uid://bs6o3htusgyjl"]
|
|
|
|
[ext_resource type="Script" uid="uid://dwry0643yvdiv" path="res://Scripts/Door.cs" id="1_no64f"]
|
|
[ext_resource type="Texture2D" uid="uid://d3ey7ton7xacy" path="res://Sprites/Actors/Doors/horizontal_hidden_door_1.png" id="2_i5ajf"]
|
|
[ext_resource type="Script" uid="uid://bbuhaam28lwld" path="res://Scripts/Components/Actors/DoorSpriteComponent.cs" id="3_i5ajf"]
|
|
[ext_resource type="Script" uid="uid://crpkvxepkcrir" path="res://Scripts/Components/Actors/ForceFieldCollisionDisabler.cs" id="4_pa8ry"]
|
|
[ext_resource type="AudioStream" uid="uid://dmsnvo8kdjyt8" path="res://SFX/517603__gurkboll__sony_dat_tcd-d10_pro_door_close.wav" id="6_2cts8"]
|
|
[ext_resource type="AudioStream" uid="uid://p5n7ijw2qvxy" path="res://SFX/517603__gurkboll__sony_dat_tcd-d10_pro_door_open.wav" id="7_0ahfd"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_batl7"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(0, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_no64f"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(224, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6unpg"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(192, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i5ajf"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(160, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pa8ry"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(128, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0g3ll"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(96, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2cts8"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(64, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0ahfd"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(32, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dprtd"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(0, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kbylg"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(224, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mkhvc"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(224, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gdy2s"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(0, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dgrgd"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(32, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_icmrg"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(64, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fhqcm"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(96, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8pgtu"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(128, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vwnl3"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(160, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q35nl"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(192, 0, 32, 34)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uiuwa"]
|
|
atlas = ExtResource("2_i5ajf")
|
|
region = Rect2(224, 0, 32, 34)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_0g3ll"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_batl7")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Closed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_no64f")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6unpg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i5ajf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pa8ry")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0g3ll")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2cts8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0ahfd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dprtd")
|
|
}],
|
|
"loop": false,
|
|
"name": &"Closing",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kbylg")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Destroyed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mkhvc")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Open",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gdy2s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dgrgd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_icmrg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fhqcm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8pgtu")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vwnl3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_q35nl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uiuwa")
|
|
}],
|
|
"loop": false,
|
|
"name": &"Opening",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0wg11"]
|
|
size = Vector2(36, 32)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f2rl6"]
|
|
size = Vector2(36, 32)
|
|
|
|
[node name="HiddenHorizontalDoor" type="Area2D" groups=["Solid"]]
|
|
collision_layer = 64
|
|
collision_mask = 154
|
|
script = ExtResource("1_no64f")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_0g3ll")
|
|
animation = &"Closed"
|
|
script = ExtResource("3_i5ajf")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." node_paths=PackedStringArray("_door")]
|
|
visible = false
|
|
shape = SubResource("RectangleShape2D_0wg11")
|
|
script = ExtResource("4_pa8ry")
|
|
_door = NodePath("..")
|
|
|
|
[node name="RigidBody2D" type="StaticBody2D" parent="."]
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D" node_paths=PackedStringArray("_door")]
|
|
visible = false
|
|
shape = SubResource("RectangleShape2D_f2rl6")
|
|
script = ExtResource("4_pa8ry")
|
|
_door = NodePath("../..")
|
|
|
|
[node name="ActivationSound" type="AudioStreamPlayer2D" parent="."]
|
|
position = Vector2(0, 1)
|
|
stream = ExtResource("6_2cts8")
|
|
max_distance = 200.0
|
|
|
|
[node name="DeactivationSound" type="AudioStreamPlayer2D" parent="."]
|
|
stream = ExtResource("7_0ahfd")
|
|
max_distance = 200.0
|
|
|
|
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
|
|
radius = 19.84
|
|
vertices = PackedVector2Array(-16, -17, 16, -17, 16, 17, -16, 17)
|
|
affect_navigation_mesh = true
|