mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
46 lines
1.5 KiB
Text
46 lines
1.5 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://crph24e6e0v0q"]
|
|
|
|
[ext_resource type="Script" uid="uid://duhodrhcnoslh" path="res://Scripts/Interactables/Switch.cs" id="1_alima"]
|
|
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_7m30w"]
|
|
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_54bnp"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rie4n"]
|
|
atlas = ExtResource("2_7m30w")
|
|
region = Rect2(0, 0, 8, 8)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sgwyd"]
|
|
atlas = ExtResource("2_7m30w")
|
|
region = Rect2(8, 0, 8, 8)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_b2dxw"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rie4n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sgwyd")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="ControlPad" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_alima")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_vvpve")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_b2dxw")
|
|
autoplay = "default"
|
|
frame = 1
|
|
frame_progress = 0.771292
|
|
|
|
[node name="ActivationSound" type="AudioStreamPlayer2D" parent="."]
|
|
stream = ExtResource("3_54bnp")
|