mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-07 17:25:53 +00:00
53 lines
1.5 KiB
Text
53 lines
1.5 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://d1h48wgasakk4"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Interactables/AlarmBox.cs" id="1_usvoy"]
|
|
[ext_resource type="Texture2D" uid="uid://bpc66amnvvkrn" path="res://Sprites/AlarmBox.png" id="2_slydm"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uh6p2"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wt4ye"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ucweu"]
|
|
atlas = ExtResource("2_slydm")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_kbgi5"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uh6p2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wt4ye")
|
|
}],
|
|
"loop": true,
|
|
"name": &"alarmed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ucweu")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="AlarmBox" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_usvoy")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_vvpve")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_kbgi5")
|
|
animation = &"alarmed"
|
|
frame_progress = 0.613245
|