feat: Establish initial game structure including lobby, UI, and core gameplay managers.

This commit is contained in:
Yogi Wiguna
2026-02-02 15:01:30 +08:00
parent 9201c99d42
commit 66d34d0d29
21 changed files with 1688 additions and 1475 deletions
+7 -4
View File
@@ -133,12 +133,15 @@ func try_push(target_pos: Vector2i, direction: Vector2i) -> bool:
# Wall/Blocked -> Stagger in place
other_player.rpc("apply_stagger", 1.5)
# 4. Consume Boost
# 4. Consume Boost (Full) - One hit per charge
if player.powerup_manager:
player.powerup_manager.reset_boost()
# Consume all available boost to force a full recharge cycle
player.powerup_manager.consume_boost(100.0)
# 5. Reset Attack Mode
player.is_attack_mode = false
# 5. Attack Mode Persistence
# logic moved to consume_boost: checks if <= 0 then disables.
# So we do NOT force disable here.
# player.is_attack_mode = false
return true