Gamestudio Links
Zorro Links
Newest Posts
Bug in train mode, or it seem to me
by mistery. 09/24/26 17:34
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 09/22/26 12:21
Capital slider is not saving in Z12
by Petra. 09/22/26 06:49
Parent/child object
by VoroneTZ. 09/22/26 05:52
Zorro tutorial ideas?
by AndrewAMD. 09/21/26 14:50
Trades during a running bar
by Martin_HH. 09/21/26 12:03
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (mistery), 8,249 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Opus, Jubilee, lopezsergio07, mistery, lokkalyansamiti
19239 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