113 lines
3.1 KiB
Plaintext
113 lines
3.1 KiB
Plaintext
|
[gd_scene load_steps=17 format=3 uid="uid://47kuhu1ukph"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://c7v2cwn2826lg" path="res://graphics/coin.png" id="1_eb1hb"]
|
||
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_q2xs3"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j26hl"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(0, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w14lc"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(16, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ckwpx"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(32, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6mbt7"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(48, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b2ng3"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(64, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gfrlm"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(80, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_itkyq"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(96, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w16a2"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(112, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kq134"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(128, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8gvwo"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(144, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5ersa"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(160, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gjiky"]
|
||
|
atlas = ExtResource("1_eb1hb")
|
||
|
region = Rect2(176, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_dfmiy"]
|
||
|
animations = [{
|
||
|
"frames": [{
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_j26hl")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_w14lc")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_ckwpx")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_6mbt7")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_b2ng3")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_gfrlm")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_itkyq")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_w16a2")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_kq134")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_8gvwo")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_5ersa")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_gjiky")
|
||
|
}],
|
||
|
"loop": true,
|
||
|
"name": &"default",
|
||
|
"speed": 12.0
|
||
|
}]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_h7yb5"]
|
||
|
radius = 5.0
|
||
|
|
||
|
[node name="Area2D" type="Area2D"]
|
||
|
script = ExtResource("1_q2xs3")
|
||
|
|
||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||
|
sprite_frames = SubResource("SpriteFrames_dfmiy")
|
||
|
autoplay = "default"
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_h7yb5")
|
||
|
debug_color = Color(0.709804, 0.309804, 0.933333, 0.419608)
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|