feat: Add core game scene with manager initialization, a dynamic message bar, scarcity-based tile respawn, and a new star tile asset.

This commit is contained in:
Yogi Wiguna
2026-02-05 12:23:20 +08:00
parent 597e6d0a56
commit 84ca4eb997
5 changed files with 55 additions and 32 deletions
+9 -7
View File
@@ -1075,13 +1075,15 @@ func sync_full_grid_data(data: PackedInt32Array):
func _on_timer_updated(time_remaining: float):
# Update standalone timer display
var time_text = str(int(time_remaining))
var timer_panel = get_node_or_null("GoalsTimer")
if timer_panel:
var timer_label = timer_panel.get_node_or_null("VBox/TimerLabel")
if timer_label:
timer_label.text = time_text
# DISABLED: Now used for PowerUp Cooldown (handled in UIManager)
# var time_text = str(int(time_remaining))
#
# var timer_panel = get_node_or_null("GoalsTimer")
# if timer_panel:
# var timer_label = timer_panel.get_node_or_null("VBox/TimerLabel")
# if timer_label:
# timer_label.text = time_text
pass
func _on_score_updated(peer_id: int, new_score: int):
# Update player's score display