Workshop06

Posted By: zemog

Workshop06 - 06/23/09 23:19

Hey Guys,

Iam new to Gamestudio and I try to make the Workshop tutorials,
but now I got a first Problem with Workshop06:

Quote:


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

////////////////////////////////////////////////////////////////////

function main()
{
video_mode = 7;
screen_color.blue = 150;
mouse_mode = 4;
}

function quit_program()
{
while (key_any) {wait (1);}
sys_exit(NULL);
}

//////////////////////////////////////////////////////////////////////

PANEL* main_pan =
{
bmap = "main.pcx";
pos_x = 250;
pos_y = 200;
button (250, 134, "quitclicked.pcx", "quitnormal.pcx", "quitover.pcx", quit_program, NULL, NULL);
flags = VISIBLE | OVERLAY;
}



When I run the code due test whats going on there it works, but the button is not working, not on hover and not onclick, can anyone tell me whats wrong there?

thanks

zemog
Posted By: zemog

Re: Workshop06 - 06/24/09 02:56

Ok it is the same on Workshop06_2, did anyone have an idea what could be wrong
here?
edit: Function over is also not be called -.- any ideas?
edit2: Ok it just was a broken setup -.-
© 2023 lite-C Forums