feat: Implement core player character setup, a centralized notification system, and special tile power-up management with inventory and cooldowns.

This commit is contained in:
Yogi Wiguna
2026-02-05 17:16:15 +08:00
parent e933773688
commit a4bd5e3c0b
13 changed files with 208 additions and 26 deletions
+9
View File
@@ -165,6 +165,15 @@ func _ready():
display_name = "Player %d" % my_id
$Name.text = display_name
# Character Pointer Visibility
# Show only for our local player (not bots, not other players)
var pointer = get_node_or_null("CharacterPointer")
if pointer:
if is_bot or is_in_group("Bots"):
pointer.visible = false
else:
pointer.visible = is_multiplayer_authority()
# Sync name to other peers if this is our local player or a bot we own
if is_multiplayer_authority():
rpc("sync_display_name", display_name)