38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
[gd_scene format=3 uid="uid://bvdp8m47ia2n3"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://onpen57mc6i8" path="res://Scenes/PuzzleButton/puzzle_button.tscn" id="1_8h8a6"]
|
|
[ext_resource type="Texture2D" uid="uid://c0v63n2kjtvvu" path="res://Ninja Adventure - Asset Pack/Backgrounds/Tilesets/TilesetDungeon.png" id="2_spa4x"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5fq82"]
|
|
atlas = ExtResource("2_spa4x")
|
|
region = Rect2(48, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5w5pl"]
|
|
atlas = ExtResource("2_spa4x")
|
|
region = Rect2(32, 16, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_25pb2"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5fq82")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"pressed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5w5pl")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"unpressed",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="PuzzleButtonSingleUse" unique_id=125477561 instance=ExtResource("1_8h8a6")]
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="1" unique_id=1705118892]
|
|
sprite_frames = SubResource("SpriteFrames_25pb2")
|
|
animation = &"pressed"
|