Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Workshop06 #273702
06/23/09 23:19
06/23/09 23:19
Joined: Jun 2009
Posts: 8
Z
zemog Offline OP
Newbie
zemog  Offline OP
Newbie
Z

Joined: Jun 2009
Posts: 8
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

Re: Workshop06 [Re: zemog] #273713
06/24/09 02:56
06/24/09 02:56
Joined: Jun 2009
Posts: 8
Z
zemog Offline OP
Newbie
zemog  Offline OP
Newbie
Z

Joined: Jun 2009
Posts: 8
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 -.-

Last edited by zemog; 06/24/09 03:43.

Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1