online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/StartMenu.tscn')
| -rw-r--r-- | ui/StartMenu.tscn | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/ui/StartMenu.tscn b/ui/StartMenu.tscn index 873b826..b05738c 100644 --- a/ui/StartMenu.tscn +++ b/ui/StartMenu.tscn @@ -5,20 +5,22 @@ [ext_resource path="res://ui/Settings.tscn" type="PackedScene" id=3] [ext_resource path="res://ui/Lobby.tscn" type="PackedScene" id=4] -[node name="StartMenu" type="Control"] +[node name="StartMenu" type="Control" groups=["control"]] anchor_right = 1.0 anchor_bottom = 1.0 +mouse_filter = 2 theme = ExtResource( 1 ) script = ExtResource( 2 ) timer_length = 2.8 nice_colors = [ Color( 0.784314, 0.427451, 0.427451, 1 ), Color( 0.913725, 0.847059, 0.403922, 1 ), Color( 0.380392, 0.741176, 0.647059, 1 ), Color( 0.321569, 0.368627, 0.858824, 1 ), Color( 0.843137, 0.133333, 0.133333, 1 ), Color( 0.109804, 0.160784, 0.564706, 1 ), Color( 0.376471, 0.796078, 0.317647, 1 ), Color( 0.8, 0.364706, 0.588235, 1 ), Color( 0.984314, 0.858824, 0.282353, 1 ), Color( 0.164706, 0.0862745, 0.247059, 1 ) ] -[node name="ColorRect" type="ColorRect" parent="."] +[node name="ColorRect" type="ColorRect" parent="." groups=["control"]] anchor_right = 1.0 anchor_bottom = 1.0 +mouse_filter = 2 color = Color( 0, 0, 0, 1 ) -[node name="MainButtons" type="VBoxContainer" parent="ColorRect"] +[node name="MainButtons" type="VBoxContainer" parent="ColorRect" groups=["control"]] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 @@ -28,7 +30,7 @@ margin_top = -224.0 margin_right = 196.0 margin_bottom = 412.0 -[node name="multiplayer" type="Button" parent="ColorRect/MainButtons"] +[node name="multiplayer" type="Button" parent="ColorRect/MainButtons" groups=["control"]] margin_left = 36.0 margin_right = 351.0 margin_bottom = 106.0 @@ -37,7 +39,7 @@ size_flags_horizontal = 4 enabled_focus_mode = 0 text = "multiplayer" -[node name="settings" type="Button" parent="ColorRect/MainButtons"] +[node name="settings" type="Button" parent="ColorRect/MainButtons" groups=["control"]] margin_left = 75.0 margin_top = 121.0 margin_right = 313.0 @@ -47,7 +49,8 @@ size_flags_horizontal = 4 enabled_focus_mode = 0 text = "settings" -[node name="local" type="Button" parent="ColorRect/MainButtons"] +[node name="local" type="Button" parent="ColorRect/MainButtons" groups=["control"]] +visible = false margin_left = 113.0 margin_top = 242.0 margin_right = 275.0 @@ -58,11 +61,11 @@ size_flags_horizontal = 4 enabled_focus_mode = 0 text = "local" -[node name="quit" type="Button" parent="ColorRect/MainButtons"] +[node name="quit" type="Button" parent="ColorRect/MainButtons" groups=["control"]] margin_left = 123.0 -margin_top = 363.0 +margin_top = 242.0 margin_right = 265.0 -margin_bottom = 469.0 +margin_bottom = 348.0 focus_mode = 0 size_flags_horizontal = 4 enabled_focus_mode = 0 @@ -71,7 +74,7 @@ text = "exit" [node name="Settings" parent="ColorRect" instance=ExtResource( 3 )] visible = false -[node name="Lobby" parent="ColorRect" instance=ExtResource( 4 )] +[node name="Lobby" parent="ColorRect" groups=["control"] instance=ExtResource( 4 )] visible = false [node name="Tween" type="Tween" parent="."] |