I use moveandslide to move the player(KinematicBody2D). And it looks good, but when I maximize window, or if I make it smaller it behave different - the jump strength is smaller or bigger. The fps is the same in all window sizes - 60fps.
motion.y += GRAVITY
motion.y = JUMP_HEIGHT
motion = move_and_slide(motion, UP)
This is how it looks:
Any ideas why this might be happening?