113 lines
3.1 KiB
Plaintext
113 lines
3.1 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://0e20afji7t11"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_7lr2g"]
|
|
[ext_resource type="Texture2D" uid="uid://dexybjngcxs3g" path="res://assets/graphics/pickups/coin.png" id="1_o2b12"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5x4sn"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1h4vi"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_eeq2t"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_be0hj"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tlsoj"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f0lcn"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7f8i4"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_myst1"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rwemh"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8djgs"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ldsox"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4ljys"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mq67e"]
|
|
atlas = ExtResource("1_o2b12")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_eujox"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1h4vi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_eeq2t")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_be0hj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tlsoj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f0lcn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7f8i4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_myst1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rwemh")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8djgs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ldsox")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4ljys")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mq67e")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_7lr2g")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
scale = Vector2(0.48, 0.520001)
|
|
shape = SubResource("CircleShape2D_5x4sn")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_eujox")
|
|
autoplay = "default"
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|