fixed super slime again

This commit is contained in:
pennyrigate 2023-09-15 23:27:07 -04:00
parent b73ed13df3
commit 33b41c267b
3 changed files with 105 additions and 40 deletions

View file

@ -41,7 +41,7 @@ func _physics_process(delta: float) -> void:
# check for jump point
var jump_points = bottom_jumps if sign(_jump_direction) == -1.0 else top_jumps
for x in jump_points:
if abs(hitbox.position.x - x) <= 2.0:
if abs(hitbox.position.x - x) <= 4.0:
_jumping = true
break
# check for player