How much Objects can be in one Room

Started by Chosim, Fri 17/06/2011 13:36:37

Previous topic - Next topic

Chosim

Thats the question, because I made a game and in one Room there will be 36 objects.

How much Objects can be in one Room / Screen?
--------------------------------------------------------------------------------------------------
|                             Internet Spaceships is Serious Business                                    |
--------------------------------------------------------------------------------------------------

Matti

40  :)

You can check all the limits in the help file under Reference > System limits.

barefoot

#2
Or Press F2 shows statistics/limits

barefoot
I May Not Be Perfect but I Have A Big Heart ..

monkey0506

Pressing F2 does not show room statistics, so it wouldn't show you anything about objects..

barefoot

Ok Monkey.. not actually objects...  but spites/views   ::)

barefoot

I May Not Be Perfect but I Have A Big Heart ..

monkey0506

While granted, that is true, the question was specifically about the maximum number of objects available per room, which your "suggestion" bore no relevance to. That's all I was saying.

Also, I'd like to point out that you can also check this value via the script with the AGS_MAX_OBJECTS constant. For example:

Code: ags
Display("Max objects per room: %d", AGS_MAX_OBJECTS);


Of course to check the actual number of objects in the current room, you would use Room.ObjectCount instead.

SMF spam blocked by CleanTalk