From bf2ce936c870f4c8d3aafba1b074eb643bcb536c Mon Sep 17 00:00:00 2001 From: nuruvilu <75346368+nuruvilu@users.noreply.github.com> Date: Mon, 27 Feb 2023 06:10:17 -0600 Subject: Add skeleton for Game Lobby Menu (#26) --- game/src/GameMenu.tscn | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'game/src/GameMenu.tscn') diff --git a/game/src/GameMenu.tscn b/game/src/GameMenu.tscn index 0c399fb..8f9d0f3 100644 --- a/game/src/GameMenu.tscn +++ b/game/src/GameMenu.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=5 format=3 uid="uid://b4pg2y2ivib8f"] +[gd_scene load_steps=6 format=3 uid="uid://b4pg2y2ivib8f"] [ext_resource type="Script" path="res://src/GameMenu.gd" id="1_cafwe"] [ext_resource type="PackedScene" uid="uid://dvoin538iby54" path="res://src/MainMenu/MainMenu.tscn" id="2_2jbkh"] [ext_resource type="PackedScene" uid="uid://cnbfxjy1m6wja" path="res://src/OptionMenu/OptionsMenu.tscn" id="3_111lv"] [ext_resource type="PackedScene" uid="uid://b7oncobnacxmt" path="res://src/LocaleButton.tscn" id="4_jno35"] +[ext_resource type="PackedScene" uid="uid://crhkgngfnxf4y" path="res://src/LobbyMenu/LobbyMenu.tscn" id="4_nofk1"] [node name="GameMenu" type="Control"] layout_mode = 3 @@ -22,6 +23,10 @@ metadata/_edit_vertical_guides_ = [251.0, 269.0, 504.0, 523.0, 15.0, 759.0, 777. visible = false layout_mode = 1 +[node name="LobbyMenu" parent="." instance=ExtResource("4_nofk1")] +visible = false +layout_mode = 1 + [node name="HBox" type="HBoxContainer" parent="."] layout_mode = 1 anchors_preset = 3 @@ -38,5 +43,7 @@ alignment = 2 [node name="LocaleButton" parent="HBox" instance=ExtResource("4_jno35")] layout_mode = 2 +[connection signal="new_game_button_pressed" from="MainMenu" to="." method="_on_main_menu_new_game_button_pressed"] [connection signal="options_button_pressed" from="MainMenu" to="." method="_on_main_menu_options_button_pressed"] [connection signal="back_button_pressed" from="OptionsMenu" to="." method="_on_options_menu_back_button_pressed"] +[connection signal="back_button_pressed" from="LobbyMenu" to="." method="_on_lobby_menu_back_button_pressed"] -- cgit v1.2.3-56-ga3b1