online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/GameUI.tscn')
| -rw-r--r-- | ui/GameUI.tscn | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/ui/GameUI.tscn b/ui/GameUI.tscn new file mode 100644 index 0000000..59f223d --- /dev/null +++ b/ui/GameUI.tscn @@ -0,0 +1,67 @@ +[gd_scene load_steps=6 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://ui/TimerLabels.gd" type="Script" id=3] +[ext_resource path="res://ui/TimerLabels.gd" type="Script" id=4] +[ext_resource path="res://ui/Timer.gd" type="Script" id=5] + +[node name="UI" type="CanvasLayer"] + +[node name="Holder" type="Control" parent="."] +anchor_left = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -400.0 +theme = ExtResource( 1 ) + +[node name="Back" type="ColorRect" parent="Holder"] +anchor_right = 1.0 +anchor_bottom = 1.0 +color = Color( 0.141176, 0.141176, 0.141176, 1 ) + +[node name="VBox" type="VBoxContainer" parent="Holder/Back"] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_constants/separation = 100 +alignment = 1 + +[node name="BlackTime" type="Label" parent="Holder/Back/VBox"] +margin_top = 267.0 +margin_right = 400.0 +margin_bottom = 350.0 +custom_fonts/font = ExtResource( 2 ) +text = "00:00.0" +align = 1 +valign = 1 +script = ExtResource( 4 ) + +[node name="ColorRect" type="ColorRect" parent="Holder/Back/VBox/BlackTime"] +show_behind_parent = true +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 72.0 +margin_right = -72.0 +color = Color( 0, 0, 0, 1 ) + +[node name="WhiteTime" type="Label" parent="Holder/Back/VBox"] +margin_top = 450.0 +margin_right = 400.0 +margin_bottom = 533.0 +custom_fonts/font = ExtResource( 2 ) +text = "00:00.0" +align = 1 +valign = 1 +script = ExtResource( 3 ) +white = true + +[node name="ColorRect" type="ColorRect" parent="Holder/Back/VBox/WhiteTime"] +show_behind_parent = true +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 72.0 +margin_right = -72.0 +color = Color( 0, 0, 0, 1 ) + +[node name="Timer" type="Node" parent="Holder/Back/VBox"] +script = ExtResource( 5 ) |