Dears,
I'm very new to 3dgamesudio and I was trying to make an altimeter. I used the below code
///////////////////////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
BMAP* altimeter_png = "altimeter.png"; // w=122px h=355px
int altimeter_varx = 0;
int altimeter_vary = 0;
PANEL *altimeter =
{
layer = 2;
window(20,20,122,100,altimeter_png,altimeter_varx,altimeter_vary);
flags = VISIBLE;
}
function main()
{
video_mode = 6;
screen_color.blue = 150;
while(1)
{
altimeter_vary++;
wait(10);
}
}
///////////////////////////////////////////////////////////////////////////////////////
but unfortunately the window is not sliding on the altimeter image.
Please help me as I don't have any idea why it is not working.