116 lines
3.2 KiB
Plaintext
116 lines
3.2 KiB
Plaintext
|
[gd_scene load_steps=17 format=3 uid="uid://dr1mp5x0cmbhw"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://d06dps348kx8t" path="res://Assets/Graphics/Pickups/coin.png" id="1_2qo34"]
|
||
|
[ext_resource type="Script" uid="uid://cl87sslvg52qg" path="res://Scripts/coin.gd" id="1_jgi06"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_jgi06"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g537i"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(0, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h2p6v"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(16, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ffmqm"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(32, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_81h6x"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(48, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qbp07"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(64, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2l7mo"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(80, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q30xt"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(96, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7w2r2"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(112, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tthw5"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(128, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6pu15"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(144, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vgc30"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(160, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qtgto"]
|
||
|
atlas = ExtResource("1_2qo34")
|
||
|
region = Rect2(176, 0, 16, 16)
|
||
|
|
||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_m55n1"]
|
||
|
animations = [{
|
||
|
"frames": [{
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_g537i")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_h2p6v")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_ffmqm")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_81h6x")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_qbp07")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_2l7mo")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_q30xt")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_7w2r2")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_tthw5")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_6pu15")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_vgc30")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": SubResource("AtlasTexture_qtgto")
|
||
|
}],
|
||
|
"loop": true,
|
||
|
"name": &"default",
|
||
|
"speed": 12.0
|
||
|
}]
|
||
|
|
||
|
[node name="Area2D" type="Area2D"]
|
||
|
script = ExtResource("1_jgi06")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
scale = Vector2(0.611397, 0.612769)
|
||
|
shape = SubResource("CircleShape2D_jgi06")
|
||
|
|
||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||
|
texture_filter = 1
|
||
|
sprite_frames = SubResource("SpriteFrames_m55n1")
|
||
|
autoplay = "default"
|
||
|
frame_progress = 0.658766
|
||
|
|
||
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|