feat: implement networked match HUD with real-time scoreboard and killfeed systems

This commit is contained in:
DottsGit
2026-06-06 13:49:12 -04:00
parent aefed46daf
commit 168bd8f1ce
11 changed files with 501 additions and 13 deletions
+20
View File
@@ -0,0 +1,20 @@
extends SceneTree
func _init():
var nm = load("res://globals/network_manager.gd").new()
nm.name = "NetworkManager"
root.add_child(nm)
var hud = load("res://ui/match_hud.gd").new()
hud.name = "MatchHUD"
root.add_child(hud)
# Mock network manager state
nm.match_active = true
nm._init_player_stats(1, "LocalTester")
# Try to call register_kill
nm.register_kill.rpc(-1, 1, "Rifle", "Target Dummy")
# Process one frame
call_deferred("quit")