flappy-bird/UI.tscn

67 lines
1.6 KiB
Text
Raw 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]
[sub_resource type="StreamTexture" 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="."]
margin_top = 600.0
margin_right = 420.0
margin_bottom = 640.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
margin_right = 420.0
margin_bottom = 40.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="BestScore" type="Label" parent="MarginContainer/HBoxContainer"]
margin_left = 28.0
margin_top = 13.0
margin_right = 208.0
margin_bottom = 27.0
rect_min_size = Vector2( 180, 0 )
text = "Best: 0"
[node name="CurrentScore" type="Label" parent="MarginContainer/HBoxContainer"]
margin_left = 212.0
margin_top = 13.0
margin_right = 392.0
margin_bottom = 27.0
rect_min_size = Vector2( 180, 0 )
text = "Current: 0"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
margin_right = 420.0
margin_bottom = 640.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ReadyText" type="TextureRect" parent="CenterContainer"]
margin_left = 181.0
margin_top = 307.0
margin_right = 239.0
margin_bottom = 332.0
grow_horizontal = 2
grow_vertical = 2
rect_pivot_offset = Vector2( 0.5, 0.5 )
texture = SubResource( 2 )