online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/StartMenu.tscn')
-rw-r--r--ui/menus/StartMenu.tscn83
1 files changed, 83 insertions, 0 deletions
diff --git a/ui/menus/StartMenu.tscn b/ui/menus/StartMenu.tscn
new file mode 100644
index 0000000..baa7dc3
--- /dev/null
+++ b/ui/menus/StartMenu.tscn
@@ -0,0 +1,83 @@
+[gd_scene load_steps=10 format=2]
+
+[ext_resource path="res://ui/menus/account/Account.tscn" type="PackedScene" id=1]
+[ext_resource path="res://ui/menus/Settings.tscn" type="PackedScene" id=2]
+[ext_resource path="res://assets/ui/verdana-bold.ttf" type="DynamicFontData" id=3]
+[ext_resource path="res://ui/theme/main.tres" type="Theme" id=4]
+[ext_resource path="res://ui/menus/Lobby.tscn" type="PackedScene" id=5]
+[ext_resource path="res://test.gd" type="Script" id=6]
+[ext_resource path="res://ui/menus/StartMenu.gd" type="Script" id=7]
+[ext_resource path="res://PGN/test_pgns.tscn" type="PackedScene" id=8]
+
+[sub_resource type="DynamicFont" id=1]
+size = 400
+use_mipmaps = true
+use_filter = true
+font_data = ExtResource( 3 )
+
+[node name="StartMenu" type="CenterContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+mouse_filter = 2
+theme = ExtResource( 4 )
+script = ExtResource( 7 )
+
+[node name="tabs" type="TabContainer" parent="."]
+margin_left = 89.0
+margin_top = 47.0
+margin_right = 1333.0
+margin_bottom = 753.0
+rect_min_size = Vector2( 2, 2 )
+mouse_filter = 1
+size_flags_horizontal = 0
+size_flags_vertical = 0
+drag_to_rearrange_enabled = true
+use_hidden_tabs_for_min_size = true
+
+[node name="Lobby" parent="tabs" instance=ExtResource( 5 )]
+margin_left = 30.0
+margin_top = 90.0
+margin_right = -30.0
+margin_bottom = -30.0
+
+[node name="Settings" parent="tabs" instance=ExtResource( 2 )]
+visible = false
+margin_left = 30.0
+margin_top = 60.0
+margin_right = -30.0
+margin_bottom = -30.0
+
+[node name="account" parent="tabs" instance=ExtResource( 1 )]
+visible = false
+margin_left = 30.0
+margin_top = 60.0
+margin_right = -30.0
+margin_bottom = -30.0
+
+[node name="tests" parent="tabs" instance=ExtResource( 8 )]
+visible = false
+margin_left = 30.0
+margin_top = 60.0
+margin_right = -30.0
+margin_bottom = -30.0
+
+[node name="quit" type="Button" parent="tabs"]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 30.0
+margin_top = 60.0
+margin_right = -30.0
+margin_bottom = -30.0
+focus_mode = 0
+size_flags_horizontal = 4
+size_flags_vertical = 4
+custom_fonts/font = SubResource( 1 )
+enabled_focus_mode = 0
+text = "exit"
+
+[node name="tests" type="Node2D" parent="."]
+script = ExtResource( 6 )
+
+[connection signal="tab_changed" from="tabs" to="tabs/Lobby" method="_on_tabs_tab_changed"]
+[connection signal="pressed" from="tabs/quit" to="." method="_on_quit_pressed"]