Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Chosim on Fri 17/06/2011 13:36:37

Title: How much Objects can be in one Room
Post by: Chosim on Fri 17/06/2011 13:36:37
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?
Title: Re: How much Objects can be in one Room
Post by: Matti on Fri 17/06/2011 13:39:23
40  :)

You can check all the limits in the help file under Reference > System limits.
Title: Re: How much Objects can be in one Room
Post by: barefoot on Fri 17/06/2011 21:51:56
Or Press F2 shows statistics/limits

barefoot
Title: Re: How much Objects can be in one Room
Post by: monkey0506 on Fri 17/06/2011 21:56:16
Pressing F2 does not show room statistics, so it wouldn't show you anything about objects..
Title: Re: How much Objects can be in one Room
Post by: barefoot on Fri 17/06/2011 21:58:32
Ok Monkey.. not actually objects...  but spites/views   ::)

barefoot

Title: Re: How much Objects can be in one Room
Post by: monkey0506 on Fri 17/06/2011 23:05:10
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:

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.