81 lines
2.4 KiB
Plaintext
81 lines
2.4 KiB
Plaintext
[gd_scene format=3 uid="uid://p8lscf1t23sd"]
|
|
|
|
[ext_resource type="FontFile" uid="uid://jgv88f60q8tg" path="res://assets/fonts/PixelOperator8.ttf" id="1_ahhtf"]
|
|
[ext_resource type="Texture2D" uid="uid://cu0kbp5sl3b0i" path="res://assets/sprites/coin.png" id="2_oo0fn"]
|
|
[ext_resource type="Texture2D" uid="uid://s5i2m7twl2gl" path="res://assets/sprites/heart.png" id="3_5ysmq"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6fi6k"]
|
|
atlas = ExtResource("2_oo0fn")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_uo2fv"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6fi6k")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5ysmq"]
|
|
atlas = ExtResource("3_5ysmq")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_6fi6k"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5ysmq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="HUD" type="CanvasLayer" unique_id=11989556]
|
|
|
|
[node name="Coins" type="Control" parent="." unique_id=479313734]
|
|
layout_mode = 3
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="ScoreLabel" type="Label" parent="Coins" unique_id=813643822]
|
|
layout_mode = 0
|
|
offset_left = -51.0
|
|
offset_top = 30.99999
|
|
offset_right = -23.0
|
|
offset_bottom = 62.999992
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_fonts/font = ExtResource("1_ahhtf")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "0"
|
|
|
|
[node name="CoinIcon" type="AnimatedSprite2D" parent="Coins" unique_id=418262136]
|
|
position = Vector2(-79.5, 46.500015)
|
|
scale = Vector2(3.5625017, 3.5625017)
|
|
sprite_frames = SubResource("SpriteFrames_uo2fv")
|
|
|
|
[node name="Hearts" type="Control" parent="." unique_id=131241705]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
|
|
[node name="HeartsLabel" type="Label" parent="Hearts" unique_id=420448557]
|
|
layout_mode = 0
|
|
offset_left = 76.0
|
|
offset_top = 32.0
|
|
offset_right = 104.0
|
|
offset_bottom = 64.0
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_fonts/font = ExtResource("1_ahhtf")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "0"
|
|
|
|
[node name="HeartIcon" type="AnimatedSprite2D" parent="Hearts" unique_id=381569197]
|
|
position = Vector2(48.000004, 44.000004)
|
|
scale = Vector2(3.5625017, 3.5625017)
|
|
sprite_frames = SubResource("SpriteFrames_6fi6k")
|