114 lines
3.1 KiB
Plaintext
114 lines
3.1 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://bnaxehsgbon7b"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_n82qg"]
|
|
[ext_resource type="Texture2D" uid="uid://cajyspdxdqvrt" path="res://assets/graphics/pickups/coin.png" id="1_onkrr"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dphy6"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7b10m"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xs4jt"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_45bjm"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i4t8m"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wblju"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fmgro"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1irob"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1lsfs"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x3nrd"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ckwn3"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4ulsn"]
|
|
atlas = ExtResource("1_onkrr")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ybyt4"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dphy6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7b10m")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xs4jt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_45bjm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i4t8m")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wblju")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fmgro")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1irob")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1lsfs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x3nrd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ckwn3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4ulsn")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_lf8sj"]
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_n82qg")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_ybyt4")
|
|
autoplay = "default"
|
|
frame = 7
|
|
frame_progress = 0.986941
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
scale = Vector2(0.52, 0.48)
|
|
shape = SubResource("CircleShape2D_lf8sj")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|