KieranGodot/august26godotcompkieran/Scenes/Coin.tscn

114 lines
3.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=17 format=3 uid="uid://cjv23ykm5q7rf"]
[ext_resource type="Script" path="res://Sripts/coin.gd" id="1_keqhv"]
[ext_resource type="Texture2D" uid="uid://wpp0ajwperl6" path="res://Assets/Graphics/Pickups/coin.png" id="1_tuil2"]
[sub_resource type="AtlasTexture" id="AtlasTexture_r7c6j"]
atlas = ExtResource("1_tuil2")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_vnnmv"]
atlas = ExtResource("1_tuil2")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_s2g0s"]
atlas = ExtResource("1_tuil2")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_cs01d"]
atlas = ExtResource("1_tuil2")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gsf1o"]
atlas = ExtResource("1_tuil2")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gkdsi"]
atlas = ExtResource("1_tuil2")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_uxpdn"]
atlas = ExtResource("1_tuil2")
region = Rect2(96, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lmo50"]
atlas = ExtResource("1_tuil2")
region = Rect2(112, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1s51c"]
atlas = ExtResource("1_tuil2")
region = Rect2(128, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_7iqrr"]
atlas = ExtResource("1_tuil2")
region = Rect2(144, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_7wyft"]
atlas = ExtResource("1_tuil2")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_58t0w"]
atlas = ExtResource("1_tuil2")
region = Rect2(176, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_6vaah"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_r7c6j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vnnmv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s2g0s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cs01d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gsf1o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gkdsi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uxpdn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lmo50")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1s51c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7iqrr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7wyft")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_58t0w")
}],
"loop": true,
"name": &"Idle",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_reynp"]
radius = 6.08276
[node name="Coin" type="Area2D"]
script = ExtResource("1_keqhv")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_6vaah")
animation = &"Idle"
autoplay = "Idle"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_reynp")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]