Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panels Load Problem #305909
01/18/10 12:04
01/18/10 12:04
Joined: Jan 2010
Posts: 3
A
amir_ro Offline OP
Guest
amir_ro  Offline OP
Guest
A

Joined: Jan 2010
Posts: 3
I'm writing a game with many menus in it. So I have to load many panels. For each panel I have a pointer with a specific name.
This is the method I'm using for loading:

BMAP* bmap_bla1 = "gfx\bla1.png";
PANEL* pan_bla1 = {bmap = bmap_bla1;}

BMAP* bmap_bla2 = "gfx\bla2.png";
PANEL* pan_bla2 = {bmap = bmap_bla2;}

.
.
.

and so on. All are initiated in the same file.

My problem is that while about the first 40 panels load and displayed correctly, the next panels are all somewhat transparent and don't respond to mouse clicks.
I've tried to change the order of initialization so bmaps and panels that had problems loading then fixed themselves but others got the same problem. So, it is not a problem of bad files.

All panels are initialized in the same way as the code is auto-generated.

Is there a limit to the amount of panels I can load in the same time?

Thanks

Re: Panels Load Problem [Re: amir_ro] #305975
01/18/10 19:03
01/18/10 19:03
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
There is no limit, i have in one of my Projects more than 500 Panels (2D Game), all visible at the same time.

Last edited by Widi; 01/18/10 19:04.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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