Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: deltamatrix on Wed 04/04/2007 23:32:28

Title: 30 Controls limit is too small!
Post by: deltamatrix on Wed 04/04/2007 23:32:28

Oh dear!
I have a large GUI that will require just under 50 Controls vastly surpassing your limit of 30. Why the tight limit?
Title: Re: 30 Controls limit is too small!
Post by: Rui 'Trovatore' Pires on Wed 04/04/2007 23:42:42
The limit isn't tight, really, it's your GUI that's the extravaganza. :D

A workaround is to have actually two GUIs. Have about 25 controls in each. Have them visible at the same time. Overlap them, or have them side by side as you wish. No one will notice.
Title: Re: 30 Controls limit is too small!
Post by: on Wed 04/04/2007 23:55:28
What on earth would require that many controls on a GUI??? One of the most complicated and feature-ridden GUIs around is the MegaVerbGui, and that seems to cope with much less.

Or, positively spoken, can you describe what your GUI's supposed to be able to do- maybe the clever scripters here can help you to find a way to cut down on the actual number of controls needed.

Other than that, Rui's suggestion's perfectly sensible.
Title: Re: 30 Controls limit is too small!
Post by: deltamatrix on Thu 05/04/2007 00:34:18
Its a GUI with 13 numbers each with two associated buttons to increase and decrease the numbers. Plus a few labels to summarise the numbers.
I'm not at liberty to say much right now as I'm still not certain if this project will continue through to the end.

Rui's suggestion seems to work though.
Title: Re: 30 Controls limit is too small!
Post by: on Thu 05/04/2007 00:39:02
I see and I respect  ;) It sounds like something for a role playing game, maybe a stats screen? In that case, you may also want to try RawDraw functions. Havn't tested them directly on a GUI, but they tend to be quite fast, and for "labels" that only show a number, they might be an alternative.

Still, if Rui's suggestion already works, just stick to it.

And good luck on yer!
Title: Re: 30 Controls limit is too small!
Post by: deltamatrix on Thu 05/04/2007 00:41:21
Ok, I admit it. Its a stats screen. You're too clever for me. ;D
Title: Re: 30 Controls limit is too small!
Post by: hindersh on Thu 05/04/2007 15:43:15
too small? i think it's enough  ;)or i've never made a big game...
Title: Re: 30 Controls limit is too small!
Post by: Akatosh on Sat 07/04/2007 11:24:22
Nope. I had that problem too with my - deceased - BBIC project. 30 Controls is not *nearly* enough for a stats screen.