115 lines
3.1 KiB
Plaintext
115 lines
3.1 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://5vkisovypn7u"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b38vv525jl8cd" path="res://graphics/pickups/coin.png" id="1_2y2ug"]
|
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_r77r7"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s13tt"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_unjf0"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o3g5t"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jdjim"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2ioij"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tq0rv"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ibt7n"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8f32r"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2e8ei"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_l8fb8"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q5swd"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x8igk"]
|
|
atlas = ExtResource("1_2y2ug")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xm54r"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_s13tt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_unjf0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_o3g5t")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jdjim")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2ioij")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tq0rv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ibt7n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8f32r")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2e8ei")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_l8fb8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_q5swd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x8igk")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_r45ua"]
|
|
radius = 5.09902
|
|
|
|
[node name="Coin" type="Area2D"]
|
|
script = ExtResource("1_r77r7")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_xm54r")
|
|
autoplay = "default"
|
|
frame = 4
|
|
frame_progress = 0.902593
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_r45ua")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|