feat: Introduce core game systems for special tile effects, power-up management, player movement, and initial UI screens.

This commit is contained in:
Yogi Wiguna
2026-03-09 17:49:50 +08:00
parent 0fb1397d11
commit aaf246d873
9 changed files with 54 additions and 17 deletions
+5 -1
View File
@@ -155,11 +155,15 @@ func use_special_effect() -> bool:
if not can_use_special():
return false
# Restriction: Cannot use attack mode while carrying a Tekton
# Restriction: Cannot use attack mode while carrying a Tekton or in Ghost mode
if player.is_carrying_tekton:
NotificationManager.send_message(player, "Cannot enter Attack Mode while carrying a Tekton!", NotificationManager.MessageType.WARNING)
return false
if player.get("is_invisible"):
NotificationManager.send_message(player, "Cannot enter Attack Mode while in Ghost mode!", NotificationManager.MessageType.WARNING)
return false
# Enable Attack Mode explicitly
player.is_attack_mode = true
# Do NOT consume boost here. Boost acts as "fuel" for the attacks.