feat: implement main game scene with manager initialization, UI setup, multiplayer integration, and core gameplay features like the message bar and pre-game countdown.

This commit is contained in:
Yogi Wiguna
2026-02-25 12:32:46 +08:00
parent 51df6ed4fc
commit a157c1efc4
+4 -3
View File
@@ -607,6 +607,10 @@ func _start_game():
if LobbyManager.game_mode == "Stop n Go" and stop_n_go_manager:
stop_n_go_manager.setup_mission_tiles()
# Spawn Static Tektons BEFORE countdown (Free Mode only)
if LobbyManager.game_mode != "Stop n Go":
spawn_static_tektons()
await _start_pre_game_countdown()
GameStateManager.start_game()
@@ -791,9 +795,6 @@ func spawn_tekton_npc():
var enhanced_gridmap = $EnhancedGridMap
if not enhanced_gridmap: return
# Spawn Static Tektons (Using Manager)
spawn_static_tektons()
# Spawn 3 Roaming Tektons
var spawned_count = 0
var attempts = 0