feat: Implement core player entity with multiplayer state synchronization, character selection, movement, and manager-based input.
This commit is contained in:
@@ -138,12 +138,10 @@ func handle_unhandled_input(event):
|
||||
player.grab_tekton()
|
||||
KEY_B:
|
||||
if player.powerup_manager and player.powerup_manager.can_use_special():
|
||||
if player.has_method("enter_knock_mode"):
|
||||
player.enter_knock_mode()
|
||||
player.powerup_manager.reset_boost()
|
||||
else:
|
||||
if player.has_method("_find_nearby_tekton") and player._find_nearby_tekton():
|
||||
player.knock_tekton()
|
||||
player.powerup_manager.reset_boost()
|
||||
elif player.has_method("enter_knock_mode"):
|
||||
player.enter_knock_mode()
|
||||
|
||||
# Handle spawn point selection if not yet selected
|
||||
|
||||
|
||||
Reference in New Issue
Block a user