Something I just made for you, if you dont understand ask me. Hope its easy to read.
Rem ***** Main Source File *****
rem ***** Vespar *****
set display mode 800,600,16
rem Drawing the ship
line 20,10,0,0
line 20,10,0,20
line 0,20,0,0
rem capturing the ship image as 1
get image 1,0,0,21,21
rem position ship in center of screen
x#=400:y#=300
sprite 1,x#,y#,1
rem Have to offset the sprite to the center so it rotates correctly
offset sprite 1,11,11
rem main loop
do
rem upkey is forward thrust
if upkey()=1 then inc thrust#,0.1
rem left and rigth keys are for rotation
if leftkey()=1 then dec rotate,1
if rightkey()=1 then inc rotate,1
rem Top speed of ship
if thrust# > .5 then thrust#=.5
rem Ship cant go backwards
if thrust# <=0 then thrust#=0
rem Math for direction of rotation
dirx# = cos(rotate):diry#=sin(rotate)
rem if ship leaves the screen it will appear on the other side
if x# <0 then x#=800
if x# >800 then x#=0
if y# <0 then y#=600
if y# >600 then y#=0
rem will move the ship in the rotation direction
x#=x#+dirx#*thrust#
y#=y#+diry#*thrust#
rem Ship will slow down (drag)
dec thrust#,.001
rem puts the ship on the screen and rotates it
sprite 1,x#,y#,1
rotate sprite 1,rotate
loop