feat: implement settings menu, audio management system, and lobby UI framework

This commit is contained in:
Yogi Wiguna
2026-03-31 21:36:26 +08:00
parent 193aae94ba
commit cc19c7852d
15 changed files with 221 additions and 6 deletions
+3 -4
View File
@@ -102,10 +102,9 @@ var _bot_names: Dictionary = {}
# var server_ip_input: LineEdit
func _ready():
# Check if user is authenticated (Commented out to allow server config on main menu)
# if not AuthManager.is_logged_in():
# call_deferred("_go_to_login")
# return
# Stop background music when in Lobby
MusicManager.stop_music()
# Load character textures
_load_character_textures()
+3 -1
View File
@@ -45,6 +45,9 @@ func _ready():
# Setup visual elevations for effects
_setup_effect_elevation()
# Start background music for the game mode
MusicManager.start_music()
# Setup UI
ui_manager.setup_playerboard_ui()
ui_manager.setup_timer_labels(self )
@@ -188,7 +191,6 @@ func _setup_effect_elevation():
em.mesh_library = ml
print("[Main] MeshLibrary elevation applied: Wall(4) and Freeze(5) at Y=0.8")
@rpc("any_peer", "call_local", "reliable")
func sync_portal_configs(configs: Array):
if portal_mode_manager: