[gd_scene load_steps=17 format=3 uid="uid://dbjp33ljlh1vh"] [ext_resource type="Texture2D" uid="uid://db1subkmbj2d8" path="res://assets/sprites/coin.png" id="1_g13xr"] [ext_resource type="Script" path="res://scripts/coin.gd" id="1_y3u7o"] [sub_resource type="AtlasTexture" id="AtlasTexture_16edh"] atlas = ExtResource("1_g13xr") region = Rect2(0, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_f2i54"] atlas = ExtResource("1_g13xr") region = Rect2(16, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_bctmy"] atlas = ExtResource("1_g13xr") region = Rect2(32, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_yc10k"] atlas = ExtResource("1_g13xr") region = Rect2(48, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_xkn7t"] atlas = ExtResource("1_g13xr") region = Rect2(64, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_lv61b"] atlas = ExtResource("1_g13xr") region = Rect2(80, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_m74x8"] atlas = ExtResource("1_g13xr") region = Rect2(96, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_xab3w"] atlas = ExtResource("1_g13xr") region = Rect2(112, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_j6poa"] atlas = ExtResource("1_g13xr") region = Rect2(128, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_nps22"] atlas = ExtResource("1_g13xr") region = Rect2(144, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_ov1jn"] atlas = ExtResource("1_g13xr") region = Rect2(160, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_fa2gn"] atlas = ExtResource("1_g13xr") region = Rect2(176, 0, 16, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_gwbt3"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_16edh") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_f2i54") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_bctmy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_yc10k") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_xkn7t") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_lv61b") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_m74x8") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_xab3w") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_j6poa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_nps22") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ov1jn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fa2gn") }], "loop": true, "name": &"default", "speed": 10.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_xb7vb"] radius = 4.12311 [node name="Coin" type="Area2D"] collision_mask = 2 script = ExtResource("1_y3u7o") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_gwbt3") autoplay = "default" frame_progress = 0.446115 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_xb7vb") [connection signal="body_entered" from="." to="." method="_on_body_entered"]