Hi,
A little bit fun with Kurbis.
if Kurbis isn't moved, he spins around the mouse cursor.
local y,rot,vel,mx,my,v,dx,dy =0,0,0,0,0,0,0,0
local angle,dist,da,p1,p2,z,x =0,0,0,0,0,0,0
p1=loadimage("kurbis/kurbis.png")
p2=loadimage("kurbis/font32x.png")
repeat
k=getkey()
cls()
mx = mousex()
my = mousey()
dx = mx-x
dy = my-y
v=v+.4
if v>=1 then
v=0
z=z+1
if z==16 then z=0 end
end
redraw()
wait (10)
until k==27
closewindow()