107 lines
2.9 KiB
Plaintext
107 lines
2.9 KiB
Plaintext
[gd_scene load_steps=16 format=3 uid="uid://c0dx3pgd0ne6s"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dt4vc3gt4q4uw" path="res://Assets/Others/coin.png" id="1_d0jd2"]
|
|
[ext_resource type="Script" uid="uid://bnlds4rbalemh" path="res://Game/Accesories/coin.gd" id="1_i1rwy"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i1rwy"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0gpge"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lv51c"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dct4o"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a6l1g"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n10rj"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nkbqs"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5q8xe"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6mtpg"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_neox4"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ecwsf"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_oa6qk"]
|
|
atlas = ExtResource("1_d0jd2")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ibmyn"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i1rwy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0gpge")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_lv51c")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dct4o")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a6l1g")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_n10rj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nkbqs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5q8xe")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6mtpg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_neox4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ecwsf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_oa6qk")
|
|
}],
|
|
"loop": false,
|
|
"name": &"play",
|
|
"speed": 18.0
|
|
}]
|
|
|
|
[node name="Coin" type="Node2D"]
|
|
script = ExtResource("1_i1rwy")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
scale = Vector2(2, 2)
|
|
sprite_frames = SubResource("SpriteFrames_ibmyn")
|
|
animation = &"play"
|
|
|
|
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]
|