I intend on having you playing a tank, and im gonna have a rotating turret, so angle is gonna get involved here.
Hide mouse
`Loading the images
Load image "your tank.bmp",1
Load image "crossheirs.bmp",2
`Your Opening Position
youX#=310
youY#=310
`-----------------------------
`the main loop
`-----------------------------
do
cls
Sprite 1,youX#,youY#,1
Sprite 2,MouseX(),MouseY(),2
if leftkey()=1 then youX#=youX#-1
if rightkey()=1 then youX#=youX#+1
if upkey()=1 then youY#=youY#-1
if downkey()=1 then youY#=youY#+1
loop
btw gonna add the rotating turret later, i already know how.
I use darkbasic classic and i practically have no experience.