new input system, add pausing
All checks were successful
CI / build (push) Successful in 2m52s

This commit is contained in:
Ultrablob 2025-02-07 13:37:10 -05:00
parent 4a31db6411
commit 88c05bbd8c
21 changed files with 194 additions and 75 deletions

View file

@ -10,7 +10,7 @@ func _ready():
absolute_movement = not config.get_value("config", "relative_controls")
func _input(event):
if event.is_action_pressed("jump") and can_jump:
if event.is_action_pressed("primary_fire") and can_jump:
can_jump = false
$"../".get_node("%Ability/Portal").start_countup(0.5)
$Sprite.speed_scale = 1