GodotGame/scenes/coin.tscn

113 lines
3.1 KiB
Plaintext
Raw Normal View History

2024-08-13 01:01:40 +00:00
[gd_scene load_steps=17 format=3 uid="uid://s5mebw76f4y"]
[ext_resource type="Texture2D" uid="uid://dxxynldiswq5g" path="res://graphics/pickups/coin.png" id="1_4ikm0"]
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_v7bd8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_46q1v"]
atlas = ExtResource("1_4ikm0")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_hugk0"]
atlas = ExtResource("1_4ikm0")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ujh61"]
atlas = ExtResource("1_4ikm0")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_bniki"]
atlas = ExtResource("1_4ikm0")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_w5jr2"]
atlas = ExtResource("1_4ikm0")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_eyn6o"]
atlas = ExtResource("1_4ikm0")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wka16"]
atlas = ExtResource("1_4ikm0")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_pd6kk"]
atlas = ExtResource("1_4ikm0")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_d0m54"]
atlas = ExtResource("1_4ikm0")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_33sqx"]
atlas = ExtResource("1_4ikm0")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ierav"]
atlas = ExtResource("1_4ikm0")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lob1t"]
atlas = ExtResource("1_4ikm0")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_kfu8w"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_46q1v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hugk0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ujh61")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bniki")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_w5jr2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_eyn6o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wka16")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pd6kk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d0m54")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_33sqx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ierav")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lob1t")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_6jtug"]
radius = 5.0
[node name="Area2D" type="Area2D"]
script = ExtResource("1_v7bd8")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_kfu8w")
autoplay = "default"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_6jtug")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]