shield on spacebar
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ func _input(event: InputEvent) -> void:
|
|||||||
func _physics_process(delta: float) -> void:
|
func _physics_process(delta: float) -> void:
|
||||||
if not is_alive:
|
if not is_alive:
|
||||||
return
|
return
|
||||||
is_shielding = shield_tier > 0 and Input.is_key_pressed(KEY_SHIFT)
|
is_shielding = shield_tier > 0 and Input.is_key_pressed(KEY_SPACE)
|
||||||
_handle_movement(delta)
|
_handle_movement(delta)
|
||||||
_handle_kick(delta)
|
_handle_kick(delta)
|
||||||
_handle_iframes(delta)
|
_handle_iframes(delta)
|
||||||
|
|||||||
Reference in New Issue
Block a user