newest Version as of right now
This commit is contained in:
@ -6,7 +6,10 @@ func get_state_name():
|
||||
|
||||
func enter():
|
||||
player.air_jumps_done = 0
|
||||
player.jumps_done = 0
|
||||
player.coyote_timer = 0.0
|
||||
player.wallrun_available = true
|
||||
player.dash_available = true
|
||||
|
||||
func exit():
|
||||
pass
|
||||
@ -24,4 +27,4 @@ func update(delta):
|
||||
Transitioned.emit(self, "PlayerJump")
|
||||
|
||||
func physics_update(delta):
|
||||
player.gravity()
|
||||
player.gravity(delta)
|
||||
|
||||
Reference in New Issue
Block a user