feat: Implement the main game scene, orchestrating manager initialization, UI setup, network integration, and in-game message bar.

This commit is contained in:
Yogi Wiguna
2026-02-06 12:40:43 +08:00
parent b3c044e1e9
commit fb0d27ce43
+12
View File
@@ -1368,6 +1368,12 @@ func sync_leaderboard_data(player_data: Array):
score_label.text = str(data.score)
entry.visible = true
# Highlight check
if data.peer_id == multiplayer.get_unique_id():
entry.modulate = Color(1.0, 1.0, 0.0) # Yellow
else:
entry.modulate = Color.WHITE
else:
entry.visible = false
@@ -1417,6 +1423,12 @@ func _update_leaderboard_display():
score_label.text = str(data.score)
entry.visible = true
# Highlight check
if data.peer_id == multiplayer.get_unique_id():
entry.modulate = Color(1.0, 1.0, 0.0) # Yellow
else:
entry.modulate = Color.WHITE
else:
entry.visible = false