114 lines
3.1 KiB
Plaintext
114 lines
3.1 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://cttwpovmajtsa"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://2alfmycos3hc" path="res://assets/graphics/pickups/coin.png" id="1_3uqv3"]
|
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_xjdrh"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_yrydk"]
|
|
radius = 5.0
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_28o60"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dy7dh"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_36not"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mlbb3"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gw3cn"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mr785"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3ja4u"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hirih"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sqfn2"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0vheq"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_26js3"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j4cxo"]
|
|
atlas = ExtResource("1_3uqv3")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_porqx"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_28o60")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dy7dh")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_36not")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mlbb3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gw3cn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mr785")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3ja4u")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hirih")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sqfn2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0vheq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_26js3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_j4cxo")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_xjdrh")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_yrydk")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_porqx")
|
|
autoplay = "default"
|
|
frame_progress = 0.258061
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|