NovemberGodotGame2024/novembergame/scenes/coin.tscn

114 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=17 format=3 uid="uid://bc6587qq8v636"]
[ext_resource type="Texture2D" uid="uid://cxil0e8gvkg18" path="res://assets/graphics/pickups/coin.png" id="1_gau74"]
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_ydk8w"]
[sub_resource type="CircleShape2D" id="CircleShape2D_7tg8h"]
radius = 5.0
[sub_resource type="AtlasTexture" id="AtlasTexture_7r3qr"]
atlas = ExtResource("1_gau74")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_fsm1g"]
atlas = ExtResource("1_gau74")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_34y51"]
atlas = ExtResource("1_gau74")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_r3sgi"]
atlas = ExtResource("1_gau74")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_3oltj"]
atlas = ExtResource("1_gau74")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_p6mss"]
atlas = ExtResource("1_gau74")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_oj8qo"]
atlas = ExtResource("1_gau74")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_iorej"]
atlas = ExtResource("1_gau74")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_xhjtr"]
atlas = ExtResource("1_gau74")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_dpmih"]
atlas = ExtResource("1_gau74")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_cnmdp"]
atlas = ExtResource("1_gau74")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qxp47"]
atlas = ExtResource("1_gau74")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_dbf75"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_7r3qr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fsm1g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_34y51")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r3sgi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3oltj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p6mss")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oj8qo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iorej")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xhjtr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dpmih")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cnmdp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qxp47")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[node name="Area2D" type="Area2D"]
script = ExtResource("1_ydk8w")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_7tg8h")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_dbf75")
autoplay = "default"
[connection signal="body_entered" from="." to="." method="_on_body_entered"]