testytest/scenes/coin.tscn

114 lines
3.1 KiB
Plaintext
Raw Normal View History

2024-08-13 01:10:22 +00:00
[gd_scene load_steps=17 format=3 uid="uid://cx6o8fh0fj8kl"]
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_58pdp"]
[ext_resource type="Texture2D" uid="uid://d1x3fr6xxt4mr" path="res://graphics/pickups/coin.png" id="1_niumm"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nakd4"]
atlas = ExtResource("1_niumm")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_adin6"]
atlas = ExtResource("1_niumm")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lfnrx"]
atlas = ExtResource("1_niumm")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_t0c4u"]
atlas = ExtResource("1_niumm")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_m0p2y"]
atlas = ExtResource("1_niumm")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_67ond"]
atlas = ExtResource("1_niumm")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8xf7t"]
atlas = ExtResource("1_niumm")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_b5h36"]
atlas = ExtResource("1_niumm")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_hs4mo"]
atlas = ExtResource("1_niumm")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_s4w26"]
atlas = ExtResource("1_niumm")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wpgnb"]
atlas = ExtResource("1_niumm")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_3yods"]
atlas = ExtResource("1_niumm")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_h30lo"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nakd4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_adin6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lfnrx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t0c4u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m0p2y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_67ond")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8xf7t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b5h36")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hs4mo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s4w26")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wpgnb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3yods")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_huvfs"]
radius = 4.0
[node name="Area2D" type="Area2D"]
script = ExtResource("1_58pdp")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_h30lo")
autoplay = "default"
frame_progress = 0.402311
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_huvfs")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]