Originally Posted By: Panda_Dude
Ok. I have sorted it out, kind of. The program starts but everything is upside down. What's going on there? Is there anything wrong with the script?

#include <acknex.h>
#include <default.c>

PANEL* first_pan =
{
BMAP = "panel.tga";
pos_x = 200;
pos_y = 250;
button (100,100,"clicked.tga","normal.tga","over.tga",NULL,NULL,NULL);
flags = OVERLAY | SHOW;
}
function main ()
{
screen_size.x = 600;
screen_size.y = 600;
screen_color.green = 170;
}

And also the button doesn't change when I click it or move the mouse over it.


for everything upside down problem: The tool you used to create TGA files may be doing that.(saving file upside down)

for buttons doesnot change problem: set mouse_mode to 2 or 4

mouse_mode = 4;


3333333333