forked from team-sg/hero-mark-2
fixed super slime again
This commit is contained in:
parent
b73ed13df3
commit
33b41c267b
3 changed files with 105 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue