aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameMenu.tscn
diff options
context:
space:
mode:
author nuruvilu <75346368+nuruvilu@users.noreply.github.com>2023-02-27 13:10:17 +0100
committer GitHub <noreply@github.com>2023-02-27 13:10:17 +0100
commitbf2ce936c870f4c8d3aafba1b074eb643bcb536c (patch)
treec8541f84a3698dcb9102a9c0160e285fa9261c8c /game/src/GameMenu.tscn
parente637c3afe2854488d1c2e755e0272f431105c404 (diff)
Add skeleton for Game Lobby Menu (#26)
Diffstat (limited to 'game/src/GameMenu.tscn')
-rw-r--r--game/src/GameMenu.tscn9
1 files changed, 8 insertions, 1 deletions
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"]