feat: Initialize main game scene and add player input and touch control managers.
This commit is contained in:
@@ -102,12 +102,15 @@ func handle_unhandled_input(event):
|
||||
# player.auto_put_item()
|
||||
KEY_Q:
|
||||
if player.powerup_manager:
|
||||
# Attack Mode (formerly Special)
|
||||
player.powerup_manager.use_special_effect()
|
||||
KEY_E: # Swapped to E per request
|
||||
KEY_E:
|
||||
if player.powerup_manager:
|
||||
# Spawn Boost
|
||||
if player.powerup_manager.has_method("spawn_boost_reward"):
|
||||
player.powerup_manager.spawn_boost_reward()
|
||||
else:
|
||||
# Fallback if method missing
|
||||
player.powerup_manager.use_special_effect()
|
||||
|
||||
# Handle spawn point selection if not yet selected
|
||||
|
||||
Reference in New Issue
Block a user