I know. This is why I use a loop to move only one pixel at a time. If you skip 10 pixels you miss out the pixels in between.
example :
Note that you would need to tell the function to 'return true' when the function changes something in the game.
example :
for i=0 to jumpheight dudey = dudey - 1 if collision()=true then exit next
Note that you would need to tell the function to 'return true' when the function changes something in the game.