flappy-bird/UI.tscn

67 lines
1.6 KiB
Text
Raw Permalink Normal View History

2020-04-08 12:40:43 +02:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://UI.gd" type="Script" id=1]
2024-04-16 12:44:28 +02:00
[sub_resource type="CompressedTexture2D" id=1]
2020-04-08 12:40:43 +02:00
load_path = "res://.import/sprites.png-7e797c86c60ebf1baad54990ba20f2d3.stex"
[sub_resource type="AtlasTexture" id=2]
atlas = SubResource( 1 )
region = Rect2( 329, 59, 58, 25 )
margin = Rect2( -29, -12, 0, 0 )
[node name="UI" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="MarginContainer" type="MarginContainer" parent="."]
2024-04-16 12:44:28 +02:00
offset_top = 600.0
offset_right = 420.0
offset_bottom = 640.0
2020-04-08 12:40:43 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
2024-04-16 12:44:28 +02:00
offset_right = 420.0
offset_bottom = 40.0
2020-04-08 12:40:43 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="BestScore" type="Label" parent="MarginContainer/HBoxContainer"]
2024-04-16 12:44:28 +02:00
offset_left = 28.0
offset_top = 13.0
offset_right = 208.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 180, 0 )
2020-04-08 12:40:43 +02:00
text = "Best: 0"
[node name="CurrentScore" type="Label" parent="MarginContainer/HBoxContainer"]
2024-04-16 12:44:28 +02:00
offset_left = 212.0
offset_top = 13.0
offset_right = 392.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 180, 0 )
2020-04-08 12:40:43 +02:00
text = "Current: 0"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
2024-04-16 12:44:28 +02:00
offset_right = 420.0
offset_bottom = 640.0
2020-04-08 12:40:43 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ReadyText" type="TextureRect" parent="CenterContainer"]
2024-04-16 12:44:28 +02:00
offset_left = 181.0
offset_top = 307.0
offset_right = 239.0
offset_bottom = 332.0
2020-04-08 12:40:43 +02:00
grow_horizontal = 2
grow_vertical = 2
2024-04-16 12:44:28 +02:00
pivot_offset = Vector2( 0.5, 0.5 )
2020-04-08 12:40:43 +02:00
texture = SubResource( 2 )