115 lines
3.1 KiB
Plaintext
115 lines
3.1 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://bxgmkcya2nup8"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/coin.gd" id="1_0370w"]
|
|
[ext_resource type="Texture2D" uid="uid://dqt56yigjia14" path="res://assets/graphics/pickups/coin.png" id="1_w8jar"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xqi52"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_timbf"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a81kj"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5ia0i"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mxyi7"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(64, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ou15j"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(80, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_psh60"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(96, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0dxws"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(112, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8nfrw"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(128, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mkdvk"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(144, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_04na0"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(160, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bcvj3"]
|
|
atlas = ExtResource("1_w8jar")
|
|
region = Rect2(176, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_p0bax"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xqi52")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_timbf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a81kj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5ia0i")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mxyi7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ou15j")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_psh60")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0dxws")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8nfrw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mkdvk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_04na0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_bcvj3")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_1unyf"]
|
|
|
|
[node name="Coin" type="Area2D"]
|
|
script = ExtResource("1_0370w")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_p0bax")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
frame_progress = 0.293314
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
scale = Vector2(0.597135, 0.597135)
|
|
shape = SubResource("CircleShape2D_1unyf")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|