online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/GameUI.tscn')
| -rw-r--r-- | ui/GameUI.tscn | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/ui/GameUI.tscn b/ui/GameUI.tscn index 3f72619..51cf767 100644 --- a/ui/GameUI.tscn +++ b/ui/GameUI.tscn @@ -1,10 +1,12 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://ui/main.tres" type="Theme" id=1] [ext_resource path="res://ui/roboto.tres" type="DynamicFont" id=2] [ext_resource path="res://assets/ui/Roboto-Medium.ttf" type="DynamicFontData" id=3] [ext_resource path="res://ui/TimerLabels.gd" type="Script" id=4] [ext_resource path="res://ui/Timer.gd" type="Script" id=5] +[ext_resource path="res://ui/MovesList.gd" type="Script" id=6] +[ext_resource path="res://ui/Status.gd" type="Script" id=7] [sub_resource type="DynamicFont" id=1] size = 25 @@ -40,9 +42,9 @@ __meta__ = { } [node name="BlackTime" type="Label" parent="Holder/Back/VBox"] -margin_top = 251.0 +margin_top = 167.0 margin_right = 400.0 -margin_bottom = 334.0 +margin_bottom = 250.0 custom_fonts/font = ExtResource( 2 ) text = "00:00.0" align = 1 @@ -62,17 +64,29 @@ margin_right = -72.0 color = Color( 0, 0, 0, 1 ) [node name="Status" type="Label" parent="Holder/Back/VBox"] -margin_top = 384.0 +visible = false +margin_top = 355.0 margin_right = 400.0 -margin_bottom = 415.0 +margin_bottom = 386.0 custom_fonts/font = SubResource( 1 ) align = 1 autowrap = true +script = ExtResource( 7 ) + +[node name="MovesList" type="ItemList" parent="Holder/Back/VBox"] +margin_top = 300.0 +margin_right = 400.0 +margin_bottom = 500.0 +rect_min_size = Vector2( 0, 200 ) +focus_mode = 0 +custom_constants/hseparation = 25 +max_columns = 2 +script = ExtResource( 6 ) [node name="WhiteTime" type="Label" parent="Holder/Back/VBox"] -margin_top = 465.0 +margin_top = 550.0 margin_right = 400.0 -margin_bottom = 548.0 +margin_bottom = 633.0 custom_fonts/font = ExtResource( 2 ) text = "00:00.0" align = 1 |