feat: the rebuild gamemode of "Gauntlet"

This commit is contained in:
2026-06-10 02:12:25 +08:00
parent 2d857a490b
commit 5653473c12
28 changed files with 1313 additions and 254 deletions
+7
View File
@@ -179,6 +179,7 @@ func _ready():
# Setup Game Mode specific UI dynamically
_create_custom_settings_ui()
_setup_game_modes()
# Initial UI update
_sync_room_profile_card()
@@ -504,6 +505,12 @@ func _sync_room_profile_card() -> void:
if room_player_rank:
room_player_rank.text = "Rank: %s" % (_local_player_rank if _local_player_rank > 0 else "-")
# Sync currency labels
if gold_label:
gold_label.text = str(UserProfileManager.wallet.get("gold", 0))
if star_label:
star_label.text = str(UserProfileManager.wallet.get("star", 0))
var avatar_path = UserProfileManager.get_avatar_url()
if not avatar_path.is_empty() and ResourceLoader.exists(avatar_path):
var tex = load(avatar_path)