FebruaryGame/februarygodotgame/scenes/coin.tscn

115 lines
3.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=17 format=3 uid="uid://meryvmptc54n"]
[ext_resource type="Texture2D" uid="uid://b8vlyhcglefuj" path="res://assets/graphics/pickups/coin.png" id="1_abrt3"]
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_ls8t6"]
[sub_resource type="AtlasTexture" id="AtlasTexture_b03k4"]
atlas = ExtResource("1_abrt3")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1skvc"]
atlas = ExtResource("1_abrt3")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_x45yo"]
atlas = ExtResource("1_abrt3")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_triro"]
atlas = ExtResource("1_abrt3")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_6hrn2"]
atlas = ExtResource("1_abrt3")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_fpiug"]
atlas = ExtResource("1_abrt3")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_mhtbw"]
atlas = ExtResource("1_abrt3")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ydt7y"]
atlas = ExtResource("1_abrt3")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_5fdw4"]
atlas = ExtResource("1_abrt3")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_l01r1"]
atlas = ExtResource("1_abrt3")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_prywm"]
atlas = ExtResource("1_abrt3")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_laboj"]
atlas = ExtResource("1_abrt3")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_uqmok"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_b03k4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1skvc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x45yo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_triro")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6hrn2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fpiug")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mhtbw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ydt7y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5fdw4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l01r1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_prywm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_laboj")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_fkwcj"]
radius = 5.0
[node name="Area2D" type="Area2D"]
script = ExtResource("1_ls8t6")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_uqmok")
autoplay = "default"
frame = 2
frame_progress = 0.0287075
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_fkwcj")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]