2 registered members (TipmyPip, AndrewAMD),
14,136
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: problem with panels
[Re: Saruniks]
#281280
07/26/09 15:12
07/26/09 15:12
|
Joined: May 2004
Posts: 1,510 Denmark
Claus_N
Serious User
|
Serious User
Joined: May 2004
Posts: 1,510
Denmark
|
Hi, and welcome to the forum!  You could either post it here or in the scripting section, so it's fine  If all of the panels open at once, you have probably set "flags |= SHOW" in all of your panels. Instead of doing that, you should show the main panel from function main. Post your code if you want me to show you how to do it  Edit: Ah okay 
Last edited by Claus_N; 07/26/09 15:12.
|
|
|
Re: problem with panels
[Re: alwaysblack]
#282611
08/02/09 14:58
08/02/09 14:58
|
Joined: May 2004
Posts: 1,510 Denmark
Claus_N
Serious User
|
Serious User
Joined: May 2004
Posts: 1,510
Denmark
|
@alwaysblack What problem exactly?  All panels showing up at game start?
|
|
|
Re: problem with panels
[Re: alwaysblack]
#282619
08/02/09 16:16
08/02/09 16:16
|
Joined: May 2004
Posts: 1,510 Denmark
Claus_N
Serious User
|
Serious User
Joined: May 2004
Posts: 1,510
Denmark
|
The "visible" flag was renamed to "SHOW" in Lite-C for some reason, so you need to use SHOW instead  That sounds fine yeah  there isn't just one way, or "the right way" of doing things - it depends on the programmers preference, and your solution does indeed sound reasonable  Programming is like art - every artist got its own style and habits.
|
|
|
Re: problem with panels
[Re: alwaysblack]
#282635
08/02/09 18:16
08/02/09 18:16
|
Joined: May 2004
Posts: 1,510 Denmark
Claus_N
Serious User
|
Serious User
Joined: May 2004
Posts: 1,510
Denmark
|
You should be using acknex.h when using gamestudio  and often default.c is used as well, but isn't required - default.c should only be used when using acknex.h. Just remember that Acknex is the name of the game engine, hence acknex.h should be used when you are programming a game using Gamestudio/Acknex.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|