From fb0d27ce432fa536a5e08c25f330a153c3a237a1 Mon Sep 17 00:00:00 2001 From: Yogi Wiguna Date: Fri, 6 Feb 2026 12:40:43 +0800 Subject: [PATCH] feat: Implement the main game scene, orchestrating manager initialization, UI setup, network integration, and in-game message bar. --- scenes/main.gd | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scenes/main.gd b/scenes/main.gd index 5f1b920..60d5501 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -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