85 lines
2.1 KiB
Plaintext
85 lines
2.1 KiB
Plaintext
[gd_scene format=3 uid="uid://d3rqn611axsfk"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://crf23tc55dxu" path="res://Assets/Spritesheets/Treasure Chests/Chest_Anim.png" id="1_8m6gq"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b5bus"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8m6gq"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2vpuu"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ydixn"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wetyp"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hwpw4"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_clx0v"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t1w70"]
|
|
atlas = ExtResource("1_8m6gq")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_sx0xc"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_b5bus")
|
|
}],
|
|
"loop": false,
|
|
"name": &"closed",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8m6gq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"opened",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2vpuu")
|
|
}, {
|
|
"duration": 3.0,
|
|
"texture": SubResource("AtlasTexture_ydixn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wetyp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hwpw4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_clx0v")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_t1w70")
|
|
}],
|
|
"loop": false,
|
|
"name": &"opening",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[node name="Chest01 Sprite" type="AnimatedSprite2D" unique_id=1811986888]
|
|
y_sort_enabled = true
|
|
sprite_frames = SubResource("SpriteFrames_sx0xc")
|
|
animation = &"closed"
|
|
autoplay = "closed"
|
|
offset = Vector2(0, -6)
|