Try out using "cos" and "sin", as to find the values for "x" and "y"...
Hope something like this helps to get a grasp of it...
sync on
sync rate 60
cls rgb(255,255,255)
get image 1,0,0,10,10
sprite 1,100,100,1
x#=100
y#=100
do
cls
if upkey()=1
dec a#,1
endif
if downkey()=1
inc a#,1
endif
if leftkey()=1
x#=x#-cos(a#)*1
y#=y#+sin(a#)*1
endif
if rightkey()=1
x#=x#+cos(a#)*1
y#=y#-sin(a#)*1
endif
print a#
print x#
print y#
sprite 1,x#,y#,1
sync
loop
If ya need more help, i advice you to show at least some of the code you're working on...
Further on my stuff at...
