clamber still a bit weird but getting better
This commit is contained in:
@@ -13,14 +13,13 @@ func Physics_Update(delta):
|
||||
standard_movement(delta)
|
||||
apply_gravity(delta)
|
||||
|
||||
standard_jump()
|
||||
|
||||
if character.is_on_floor():
|
||||
Transitioned.emit(self,"on foot")
|
||||
|
||||
enable_wall_rays()
|
||||
|
||||
if Input.is_action_just_pressed("jump") and (character.jumps_remaining > 0 or character.can_clamber()):
|
||||
character.jumps_remaining -= 1
|
||||
standard_jump()
|
||||
|
||||
if Input.is_action_just_pressed("sprint") and air_dash_left > 0:
|
||||
air_dash_left -= 1
|
||||
|
||||
Reference in New Issue
Block a user