mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 05:25:53 +00:00
Alert Signs
This commit is contained in:
parent
d3634a3dd2
commit
5452b36f32
13 changed files with 226 additions and 22 deletions
|
|
@ -1,9 +1,14 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://d1h48wgasakk4"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://d1h48wgasakk4"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Interactables/AlarmBox.cs" id="1_usvoy"]
|
||||
[ext_resource type="Script" 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" path="res://Scripts/Resources/Events/AlarmDisableEvent.cs" id="2_umsjn"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/AlarmSpriteSwitcher.cs" id="5_7g2v5"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]
|
||||
[sub_resource type="Resource" id="Resource_hppa0"]
|
||||
script = ExtResource("2_umsjn")
|
||||
WaitForCompletion = true
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uh6p2"]
|
||||
atlas = ExtResource("2_slydm")
|
||||
|
|
@ -39,15 +44,18 @@ animations = [{
|
|||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="AlarmBox" type="Area2D" groups=["Interactable"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_usvoy")
|
||||
[node name="AlarmBox" type="Node2D" groups=["Interactable"]]
|
||||
script = ExtResource("1_2d4he")
|
||||
Events = Array[Object]([SubResource("Resource_hppa0")])
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_vvpve")
|
||||
[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")
|
||||
animation = &"alarmed"
|
||||
frame_progress = 0.613245
|
||||
|
||||
[node name="SpriteSwitcher" type="Node2D" parent="." node_paths=PackedStringArray("_sprite")]
|
||||
script = ExtResource("5_7g2v5")
|
||||
_sprite = NodePath("../AnimatedSprite2D")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue