online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/startmenu/StartMenu.tscn')
| -rw-r--r-- | ui/menus/startmenu/StartMenu.tscn | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/ui/menus/startmenu/StartMenu.tscn b/ui/menus/startmenu/StartMenu.tscn new file mode 100644 index 0000000..3e7e157 --- /dev/null +++ b/ui/menus/startmenu/StartMenu.tscn @@ -0,0 +1,115 @@ +[gd_scene load_steps=12 format=2] + +[ext_resource path="res://assets/fonts/ubuntu/ubuntu-bold.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://ui/theme/main.theme" type="Theme" id=2] +[ext_resource path="res://ui/menus/startmenu/StartMenu.gd" type="Script" id=3] +[ext_resource path="res://ui/ubuntu-bold-regular.tres" type="DynamicFont" id=4] +[ext_resource path="res://ui/menus/lobby/Lobby.tscn" type="PackedScene" id=5] +[ext_resource path="res://ui/menus/tests/test_runner.tscn" type="PackedScene" id=6] +[ext_resource path="res://ui/menus/settings/Settings.tscn" type="PackedScene" id=7] +[ext_resource path="res://ui/menus/account/Account.tscn" type="PackedScene" id=8] +[ext_resource path="res://ui/menus/startmenu/VersionLabel.gd" type="Script" id=9] +[ext_resource path="res://ui/menus/local_multiplayer/LocalMultiplayer.tscn" type="PackedScene" id=10] + +[sub_resource type="DynamicFont" id=1] +size = 400 +use_mipmaps = true +use_filter = true +font_data = ExtResource( 1 ) + +[node name="StartMenu" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +script = ExtResource( 3 ) + +[node name="CenterContainer" type="CenterContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +theme = ExtResource( 2 ) + +[node name="tabs" type="TabContainer" parent="CenterContainer"] +margin_left = 201.0 +margin_top = 84.0 +margin_right = 1221.0 +margin_bottom = 716.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=" play" type="TabContainer" parent="CenterContainer/tabs"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 40.0 +margin_top = 94.0 +margin_right = -40.0 +margin_bottom = -40.0 +drag_to_rearrange_enabled = true + +[node name=" multiplayer" parent="CenterContainer/tabs/ play" instance=ExtResource( 5 )] +margin_left = 40.0 +margin_top = 94.0 +margin_right = -40.0 +margin_bottom = -40.0 + +[node name=" local play" parent="CenterContainer/tabs/ play" instance=ExtResource( 10 )] +visible = false +margin_left = 25.0 +margin_top = 79.0 +margin_right = -25.0 +margin_bottom = -25.0 + +[node name="漣 configure" parent="CenterContainer/tabs" instance=ExtResource( 7 )] +visible = false +margin_left = 30.0 +margin_top = 60.0 +margin_right = -30.0 +margin_bottom = -30.0 + +[node name="אּ accounts" parent="CenterContainer/tabs" instance=ExtResource( 8 )] +visible = false +margin_left = 30.0 +margin_top = 60.0 +margin_right = -30.0 +margin_bottom = -30.0 + +[node name="ﭧtests" parent="CenterContainer/tabs" instance=ExtResource( 6 )] +visible = false +margin_left = 30.0 +margin_top = 60.0 +margin_right = -30.0 +margin_bottom = -30.0 + +[node name=" exit" type="Button" parent="CenterContainer/tabs"] +unique_name_in_owner = true +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 ) +text = "exit" + +[node name="VersionLabel" type="Label" parent="."] +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_top = -34.0 +margin_right = -11.0 +margin_bottom = -11.0 +custom_colors/font_color = Color( 0.345098, 0.431373, 0.458824, 1 ) +custom_fonts/font = ExtResource( 4 ) +text = "ver " +align = 2 +valign = 1 +script = ExtResource( 9 ) + +[connection signal="pressed" from="CenterContainer/tabs/ exit" to="." method="_on_quit_pressed"] |