Tweaked max fall speed
This commit is contained in:
@@ -14,7 +14,7 @@ var just_bounced: bool = false #allow max bounce height (i.e. ignore jump input)
|
|||||||
|
|
||||||
#limits
|
#limits
|
||||||
const MAX_MOVE_SPEED: int = 300
|
const MAX_MOVE_SPEED: int = 300
|
||||||
const MAX_FALL_SPEED: int = 500
|
const MAX_FALL_SPEED: int = 800
|
||||||
|
|
||||||
#game-feel
|
#game-feel
|
||||||
var buffer_grounded: int = 0
|
var buffer_grounded: int = 0
|
||||||
@@ -70,6 +70,7 @@ func _physics_process(_delta) -> void:
|
|||||||
|
|
||||||
#do the thing
|
#do the thing
|
||||||
move_and_slide()
|
move_and_slide()
|
||||||
|
print(velocity.y)
|
||||||
|
|
||||||
#animation stuff
|
#animation stuff
|
||||||
func _on_animation_finished() -> void:
|
func _on_animation_finished() -> void:
|
||||||
|
|||||||
15
scene.tscn
15
scene.tscn
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user