JeremyGodot/scenes/coin.tscn

113 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

2024-08-13 01:10:25 +00:00
[gd_scene load_steps=17 format=3 uid="uid://7e5lm5ck08k8"]
[ext_resource type="Texture2D" uid="uid://bu0wyq230xip1" path="res://graphics/pickups/coin.png" id="1_a1ga2"]
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_xu2uf"]
[sub_resource type="AtlasTexture" id="AtlasTexture_cphs5"]
atlas = ExtResource("1_a1ga2")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_24jk6"]
atlas = ExtResource("1_a1ga2")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_rgjgj"]
atlas = ExtResource("1_a1ga2")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8ci21"]
atlas = ExtResource("1_a1ga2")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_i0cu2"]
atlas = ExtResource("1_a1ga2")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wtwtd"]
atlas = ExtResource("1_a1ga2")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_yxweu"]
atlas = ExtResource("1_a1ga2")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_b7n6q"]
atlas = ExtResource("1_a1ga2")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_mpw0r"]
atlas = ExtResource("1_a1ga2")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_o1nu1"]
atlas = ExtResource("1_a1ga2")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_frg1o"]
atlas = ExtResource("1_a1ga2")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_efpui"]
atlas = ExtResource("1_a1ga2")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_w1v5w"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_cphs5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_24jk6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rgjgj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8ci21")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i0cu2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wtwtd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yxweu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b7n6q")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mpw0r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_o1nu1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_frg1o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_efpui")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_ngajn"]
radius = 6.0
[node name="Area2D" type="Area2D"]
script = ExtResource("1_xu2uf")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_w1v5w")
autoplay = "default"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_ngajn")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]