[SOLVED]Is there a maximum number of GUIs I can have in my game?

Started by Miglioshin, Fri 13/01/2012 13:50:26

Previous topic - Next topic

Miglioshin

I searched the forum and checked the dynamic help but it seems that i can't find a proper answer.

Since I already encountered the 20-objects-per-room limitation (due to my lack of experience - i.e. handling doors with 2 different objects instead of 1 object with 2 sprites and appropriate coordinates...), this question popped up in my mind.

The fact is that I'm thinking about a sort of minigame/puzzle implemented using several GUIs, buttons, labels and cursors, instead of handling it with rooms, objects, hotspots, inventory items and text overlays.

Each one of the methods have its own scripting issues but I think that what I have in mind will be easier/shorter to handle with GUIs.

But I don't want to unexpectedly run out of GUIs before completion!

Another related question, is there, in the same way, any limitation to the number of buttons a GUI can have?

I thank you all in advance for the answers.

cat

As far as I remember there is (or at least was) a limit on GUI elements (buttons etc) which I ran into when coding Steamsquares. Don't know if this limit still exists though.

arj0n

#2
limits:

40  objects per room
299  state-saving rooms per game
300  inventory items
30000  imported sprites
30  controls on each GUI
500  dialog topics
30  options per dialog topic
20  screen overlays at a time
5  background frames per room
20  mouse cursors
8  audio channels
100  local messages per room (excluding script)
unlimited words in the text parser dictionary
unlimited characters
unlimited views
unlimited GUIs
unlimited loops per view
unlimited frames per loop


Miglioshin


Khris

It's in the manual in the Reference section:

http://www.adventuregamestudio.co.uk/manual/System%20limits.htm

Btw, regarding doors, you don't need to move the door object if the sprites you use for the open and closed door have different margins. Upon importing, transparent areas are kept, so you can line up the sprites in your graphics program before importing them and that's it.

SMF spam blocked by CleanTalk