mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
82 lines
2.6 KiB
Text
82 lines
2.6 KiB
Text
[gd_scene load_steps=14 format=3 uid="uid://d1h48wgasakk4"]
|
|
|
|
[ext_resource type="Script" uid="uid://d0a0o50j82eo6" path="res://Scripts/Activables/ScriptableBase.cs" id="1_2d4he"]
|
|
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="2_2xddf"]
|
|
[ext_resource type="Texture2D" uid="uid://bpc66amnvvkrn" path="res://Sprites/AlarmBox.png" id="2_slydm"]
|
|
[ext_resource type="Script" uid="uid://donxnd50p7dm8" path="res://Scripts/Resources/Events/AlarmDisableEvent.cs" id="2_umsjn"]
|
|
[ext_resource type="Script" uid="uid://daqdq17qiessy" path="res://Scripts/Components/AlarmSpriteSwitcher.cs" id="5_7g2v5"]
|
|
|
|
[sub_resource type="Resource" id="Resource_hppa0"]
|
|
script = ExtResource("2_umsjn")
|
|
WaitForCompletion = true
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_enwfk"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8onhd"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s6se2"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t1vgp"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_srsfb"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ll0ki"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_kbgi5"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_enwfk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8onhd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_s6se2")
|
|
}],
|
|
"loop": true,
|
|
"name": &"alarmed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_t1vgp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_srsfb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ll0ki")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="AlarmBox" type="Node2D" groups=["Interactable"]]
|
|
script = ExtResource("1_2d4he")
|
|
Events = Array[Object]([SubResource("Resource_hppa0")])
|
|
|
|
[node name="ControlPad" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("2_2xddf")]
|
|
Target = NodePath("..")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_kbgi5")
|
|
autoplay = "default"
|
|
frame_progress = 0.890588
|
|
|
|
[node name="SpriteSwitcher" type="Node2D" parent="." node_paths=PackedStringArray("_sprite")]
|
|
script = ExtResource("5_7g2v5")
|
|
_sprite = NodePath("../AnimatedSprite2D")
|