FebGame/febfabgame/Scenes/coin.tscn

114 lines
3.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=17 format=3 uid="uid://buyuw4dj3uovh"]
[ext_resource type="Texture2D" uid="uid://dd5qaa5cpnh2t" path="res://Assets/graphics/pickups/coin.png" id="1_b0tmp"]
[ext_resource type="Script" path="res://Scripts/coin.gd" id="1_jh57p"]
[sub_resource type="AtlasTexture" id="AtlasTexture_pj6w8"]
atlas = ExtResource("1_b0tmp")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_j1j0f"]
atlas = ExtResource("1_b0tmp")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1mt3j"]
atlas = ExtResource("1_b0tmp")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gr4wc"]
atlas = ExtResource("1_b0tmp")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_mpin7"]
atlas = ExtResource("1_b0tmp")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_b1gk7"]
atlas = ExtResource("1_b0tmp")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jqhsw"]
atlas = ExtResource("1_b0tmp")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_uaepw"]
atlas = ExtResource("1_b0tmp")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lluxh"]
atlas = ExtResource("1_b0tmp")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_vrcvi"]
atlas = ExtResource("1_b0tmp")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_fiujm"]
atlas = ExtResource("1_b0tmp")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_xrd60"]
atlas = ExtResource("1_b0tmp")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_pdwqp"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_pj6w8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j1j0f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1mt3j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gr4wc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mpin7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b1gk7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jqhsw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uaepw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lluxh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vrcvi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fiujm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xrd60")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_g0ckv"]
radius = 4.0
[node name="Area2D" type="Area2D"]
script = ExtResource("1_jh57p")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_pdwqp")
autoplay = "default"
frame_progress = 0.228944
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_g0ckv")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]