i'm trying to do a game like GTA...
to move my char i used:
if downkey()=1 and i=1 then y=y+7
if upkey()=1 and i=1 then y=y-7
if downkey()=1 and i=2 then y=y+5
if downkey()=1 and i=2 then x=x-5
if upkey()=1 and i=2 then x=x+5
if upkey()=1 and i=2 then y=y-5
if downkey()=1 and i=3 then x=x-7
if upkey()=1 and i=3 then x=x+7
if downkey()=1 and i=4 then y=y-5
if downkey()=1 and i=4 then x=x-5
if upkey()=1 and i=4 then y=y+5
if upkey()=1 and i=4 then x=x+5
if downkey()=1 and i=5 then y=y-7
if upkey()=1 and i=5 then y=y+7
if downkey()=1 and i=6 then y=y-5
if downkey()=1 and i=6 then x=x+5
if upkey()=1 and i=6 then x=x-5
if upkey()=1 and i=6 then y=y+5
if downkey()=1 and i=7 then x=x+7
if upkey()=1 and i=7 then x=x-7
if downkey()=1 and i=8 then y=y+5
if downkey()=1 and i=8 then x=x+5
if upkey()=1 and i=8 then x=x-5
if upkey()=1 and i=8 then y=y-5
-----------
image 1 is headed up, 2-45 degrees to the right, 3- 90degrees to the right...