115 lines
3.1 KiB
Plaintext
115 lines
3.1 KiB
Plaintext
|
[gd_scene load_steps=17 format=3 uid="uid://dkqrujmfd1dt4"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://ciplly2mh0byk" path="res://assets/graphics/pickups/coin.png" id="1_uj4yu"]
|
||
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_wmh33"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lu172"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(0, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_simim"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(16, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g3q2r"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(32, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8hquj"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(48, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gjx14"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(64, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lmkif"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(80, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_r3lrs"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(96, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ltulh"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(112, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4op8d"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(128, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tmcc6"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(144, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h6sll"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(160, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4qxb4"]
|
||
|
atlas = ExtResource("1_uj4yu")
|
||
|
region = Rect2(176, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_l8kad"]
|
||
|
animations = [{
|
||
|
"frames": [{
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_lu172")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_simim")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_g3q2r")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_8hquj")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_gjx14")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_lmkif")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_r3lrs")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_ltulh")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_4op8d")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_tmcc6")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_h6sll")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_4qxb4")
|
||
|
}],
|
||
|
"loop": true,
|
||
|
"name": &"idle",
|
||
|
"speed": 12.0
|
||
|
}]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_jntnx"]
|
||
|
radius = 5.0
|
||
|
|
||
|
[node name="Area2D" type="Area2D"]
|
||
|
script = ExtResource("1_wmh33")
|
||
|
|
||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||
|
texture_filter = 1
|
||
|
sprite_frames = SubResource("SpriteFrames_l8kad")
|
||
|
animation = &"idle"
|
||
|
autoplay = "idle"
|
||
|
frame_progress = 0.516236
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_jntnx")
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|