Hi,
same thing with Trunc...
I don't get this : "and tiles are usually drawn from their top left corner, not from middle."
- why did you write this ? am I doing something wrong when checking the 4 corners?
By the way... if I use it like this :
Code:
if not Blurp.testForWall(Blurp.X,Blurp.Y,Blurp.Image.Width,Blurp.Image.Height) then
for any direction... it stops when it hits the wall... but since it HIT the wall I can no longer
move in any direction... that is why I did that -3 here +3 here... I'm a bit confused there... I should check if after the next step there is a wall...
Greetings
Rob
Bookmarks