Add minimum jump height, fire rate configuration, and improve throw input handling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class_name TapThrowInputResource
|
||||
extends ThrowInputResource
|
||||
|
||||
func process_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("attack"):
|
||||
func update(_delta: float) -> void:
|
||||
if Input.is_action_pressed("attack"):
|
||||
throw_requested.emit(1.0)
|
Reference in New Issue
Block a user