Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,184 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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