From c232b92e2dde1277324d1f89d0e75ae641e4ac3b Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Wed, 7 Sep 2022 14:07:30 -0400 Subject: reorganized, ladders, vehicle control --- godot/ui/MainMenu.tscn | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 godot/ui/MainMenu.tscn (limited to 'godot/ui/MainMenu.tscn') diff --git a/godot/ui/MainMenu.tscn b/godot/ui/MainMenu.tscn new file mode 100644 index 0000000..4cd993a --- /dev/null +++ b/godot/ui/MainMenu.tscn @@ -0,0 +1,44 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://theming/menu_font.tres" type="DynamicFont" id=1] +[ext_resource path="res://ui/MainMenu.gd" type="Script" id=2] + +[node name="MainMenu" type="Node2D"] +script = ExtResource( 2 ) + +[node name="HostButton" type="Button" parent="."] +margin_left = 83.0 +margin_top = 73.0 +margin_right = 236.0 +margin_bottom = 109.0 +custom_fonts/font = ExtResource( 1 ) +text = "Host Server" + +[node name="JoinButton" type="Button" parent="."] +margin_left = 84.0 +margin_top = 121.0 +margin_right = 235.0 +margin_bottom = 157.0 +custom_fonts/font = ExtResource( 1 ) +text = "Join Server" + +[node name="LocalButton" type="Button" parent="."] +margin_left = 84.0 +margin_top = 168.0 +margin_right = 235.0 +margin_bottom = 204.0 +custom_fonts/font = ExtResource( 1 ) +text = "Local Server" + +[node name="QuitButton" type="Button" parent="."] +margin_left = 117.0 +margin_top = 226.0 +margin_right = 192.0 +margin_bottom = 246.0 +custom_fonts/font = ExtResource( 1 ) +text = "QUIT" + +[connection signal="pressed" from="HostButton" to="." method="to_host_menu"] +[connection signal="pressed" from="JoinButton" to="." method="to_join_menu"] +[connection signal="pressed" from="LocalButton" to="." method="run_local_server"] +[connection signal="pressed" from="QuitButton" to="." method="quit_game"] -- cgit v1.2.3