FlappyBird2024/hud.tscn

129 lines
3.1 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://xmr7p57pgt46"]
[ext_resource type="Texture2D" uid="uid://d28arg8dquwkq" path="res://gfx/atlas.png" id="1_nqep0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_0vakl"]
atlas = ExtResource("1_nqep0")
region = Rect2(702, 182, 178, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_4pxyu"]
atlas = ExtResource("1_nqep0")
region = Rect2(930, 2, 62, 40)
[sub_resource type="AtlasTexture" id="AtlasTexture_rdgkv"]
atlas = ExtResource("1_nqep0")
region = Rect2(708, 236, 104, 62)
[sub_resource type="AtlasTexture" id="AtlasTexture_ew1ix"]
atlas = ExtResource("1_nqep0")
region = Rect2(828, 236, 104, 62)
[sub_resource type="AtlasTexture" id="AtlasTexture_qrpe5"]
atlas = ExtResource("1_nqep0")
region = Rect2(886, 184, 122, 10)
[node name="HUD" type="CanvasLayer"]
[node name="Score" type="Label" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_top = 39.0
offset_right = 20.0
offset_bottom = 130.0
grow_horizontal = 2
theme_override_font_sizes/font_size = 64
text = "0"
horizontal_alignment = 1
[node name="Title" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -89.0
offset_top = -143.0
offset_right = 89.0
offset_bottom = -95.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_group_ = true
[node name="FlappyBird" type="Sprite2D" parent="Title"]
position = Vector2(89, 24)
texture = SubResource("AtlasTexture_0vakl")
[node name="RateButton" type="Button" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -35.0
offset_top = 24.0
offset_right = 24.0
offset_bottom = 56.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
metadata/_edit_group_ = true
[node name="Rate" type="Sprite2D" parent="RateButton"]
position = Vector2(29, 18)
texture = SubResource("AtlasTexture_4pxyu")
[node name="StartButton" type="Button" parent="."]
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 32.0
offset_top = 104.0
offset_right = 136.0
offset_bottom = 160.0
grow_vertical = 2
focus_mode = 0
metadata/_edit_group_ = true
[node name="Start" type="Sprite2D" parent="StartButton"]
position = Vector2(52, 29)
texture = SubResource("AtlasTexture_rdgkv")
[node name="ScoreButton" type="Button" parent="."]
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -136.0
offset_top = 104.0
offset_right = -32.0
offset_bottom = 160.0
grow_horizontal = 0
grow_vertical = 2
focus_mode = 0
metadata/_edit_group_ = true
[node name="Scores" type="Sprite2D" parent="ScoreButton"]
position = Vector2(53, 29)
texture = SubResource("AtlasTexture_ew1ix")
[node name="Copyright" type="Label" parent="."]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -56.0
offset_top = -106.0
offset_right = 68.0
offset_bottom = -83.0
grow_horizontal = 2
grow_vertical = 0
metadata/_edit_group_ = true
[node name="Copyright" type="Sprite2D" parent="Copyright"]
position = Vector2(62, 7)
texture = SubResource("AtlasTexture_qrpe5")