115 lines
3.1 KiB
Plaintext
115 lines
3.1 KiB
Plaintext
|
[gd_scene load_steps=17 format=3 uid="uid://dn4tjgue768y1"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://cwfj4njnlumvy" path="res://scripts/coin.gd" id="1_i64fm"]
|
||
|
[ext_resource type="Texture2D" uid="uid://b3y3el5roo4i8" path="res://assets/graphics/collectibles/coin.png" id="1_rwqht"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i64fm"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(0, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_11l1o"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(16, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_d14el"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(32, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1ikuy"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(48, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wnlwo"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(64, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jig8b"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(80, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xmuha"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(96, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kfxoj"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(112, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jsmju"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(128, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s0mny"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(144, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7cc30"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(160, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rojmm"]
|
||
|
atlas = ExtResource("1_rwqht")
|
||
|
region = Rect2(176, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ls27i"]
|
||
|
animations = [{
|
||
|
"frames": [{
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_i64fm")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_11l1o")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_d14el")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_1ikuy")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_wnlwo")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_jig8b")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_xmuha")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_kfxoj")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_jsmju")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_s0mny")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_7cc30")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_rojmm")
|
||
|
}],
|
||
|
"loop": true,
|
||
|
"name": &"default",
|
||
|
"speed": 12.0
|
||
|
}]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_rwqht"]
|
||
|
radius = 5.0
|
||
|
|
||
|
[node name="Area2D" type="Area2D"]
|
||
|
script = ExtResource("1_i64fm")
|
||
|
|
||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||
|
texture_filter = 1
|
||
|
sprite_frames = SubResource("SpriteFrames_ls27i")
|
||
|
autoplay = "default"
|
||
|
frame = 8
|
||
|
frame_progress = 0.53278
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_rwqht")
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|