114 lines
3.1 KiB
Plaintext
114 lines
3.1 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://jndg1i4d5yjx"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_68g3g"]
|
|
[ext_resource type="Texture2D" uid="uid://y2iyy6fajlpf" path="res://graphics/Pickups/coin.png" id="1_b1x6x"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dayob"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x6trl"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_chhsm"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_oljes"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j1fax"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0slap"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7qmwq"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_txsyq"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vq2e6"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1371s"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fkqkx"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7itsh"]
|
|
atlas = ExtResource("1_b1x6x")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_24veq"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dayob")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x6trl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_chhsm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_oljes")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_j1fax")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0slap")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7qmwq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_txsyq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vq2e6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1371s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fkqkx")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7itsh")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_w36p2"]
|
|
radius = 5.0
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_68g3g")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_24veq")
|
|
autoplay = "default"
|
|
frame_progress = 0.488827
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_w36p2")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|