natürlich geht das auch mit einnem panel
Code:
var rotation;
bmap key_bmp = <key.bmp>;
function rotate//call this in main
{
while(1)
{
rotation+=30;//30 is the width of every single part of the bmp
if(rotation>270)//10 frames
{
rotation=0;
}
wait(3);//you can wait longer here
}
}
panel key_pan
{
window 0,0,30,30,key_bmp,rotation,0;
flags=visible;
}
something like that: