feat: Add core multiplayer lobby functionality including UI and state management.

This commit is contained in:
Yogi Wiguna
2026-03-26 17:39:24 +08:00
parent b0188066b1
commit e6d58002a7
2 changed files with 2 additions and 32 deletions
+1 -3
View File
@@ -77,7 +77,7 @@ var rematch_votes: Array = [] # [player_id, ...]
# Character and area selection
var available_characters: Array[String] = ["Copper", "Dabro", "Gatot", "Pip", "Random"]
var available_areas: Array[String] = []
var available_game_modes: Array[String] = ["Freemode", "Stop n Go", "Tekton Doors"]
var available_game_modes: Array[String] = ["Freemode", "Stop n Go"]
var selected_area: String = "Classic" # Host-controlled
var game_mode: String = "Freemode" # Host-controlled
var local_character_index: int = 0 # Local player's character index
@@ -132,8 +132,6 @@ func _update_available_areas(mode: String) -> void:
available_areas = ["Classic", "Colloseum"]
"Stop n Go":
available_areas = ["Stop N Go Arena"]
"Tekton Doors":
available_areas = ["Tekton Doors Arena"]
_:
available_areas = ["Classic"]