flappy-bird/UI.tscn
2024-04-16 12:44:28 +02:00

67 lines
1.6 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://UI.gd" type="Script" id=1]
[sub_resource type="CompressedTexture2D" id=1]
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="."]
offset_top = 600.0
offset_right = 420.0
offset_bottom = 640.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
offset_right = 420.0
offset_bottom = 40.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="BestScore" type="Label" parent="MarginContainer/HBoxContainer"]
offset_left = 28.0
offset_top = 13.0
offset_right = 208.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 180, 0 )
text = "Best: 0"
[node name="CurrentScore" type="Label" parent="MarginContainer/HBoxContainer"]
offset_left = 212.0
offset_top = 13.0
offset_right = 392.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 180, 0 )
text = "Current: 0"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
offset_right = 420.0
offset_bottom = 640.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ReadyText" type="TextureRect" parent="CenterContainer"]
offset_left = 181.0
offset_top = 307.0
offset_right = 239.0
offset_bottom = 332.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2( 0.5, 0.5 )
texture = SubResource( 2 )