feat: support configurable game server address and port

* Launch game servers in headless mode
* Add configurable game address and port to GameData
* Pass dynamically assigned server ports to clients
* Update lobby defaults for `0.0.0.0:8080`
* Refactor server command-line argument handling
This commit is contained in:
2026-08-10 00:28:23 -05:00
parent 1eb057fefd
commit 7897462309
5 changed files with 30 additions and 7 deletions

View File

@@ -1,6 +1,10 @@
class_name GameData extends Node
var game_address: String = "0.0.0.0"
var game_port: int = 8080
func _init() -> void:
Globals.game_data = self