[gd_scene load_steps=6 format=2] [ext_resource path="res://assets/coin.png" type="Texture" id=1] [sub_resource type="CircleShape2D" id=1] radius = 6.0 [sub_resource type="AtlasTexture" id=2] atlas = ExtResource( 1 ) region = Rect2( 0, 0, 18, 18 ) [sub_resource type="AtlasTexture" id=3] atlas = ExtResource( 1 ) region = Rect2( 18, 0, 18, 18 ) [sub_resource type="SpriteFrames" id=4] animations = [ { "frames": [ SubResource( 2 ), SubResource( 3 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [node name="coin" type="Area2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 4 ) playing = true