Is there a maximum number of Actors or Attributes per Scene and overall game that can be used?
Comments
SlickZeroHouston, TexasMember, Sous ChefPosts: 2,870
Not really. Depends on what's going on in the game. There is a limit as far as performance is concerned, but there is no set limit of actors or attributes that can be used.
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
Yeah some users have reported 500+ attributes in their game. And I currently have a game with around 200 actors in the scene. THe load times really suck though but the Gameplay is still good. I have also seen going over 80 actors completely killing the performance. It all depends on the rules in the actors.
There is no magic number though so you will just have test things and see what works for you.
It also depends on the size of your level and the size of the actors I find. Im making a game where a level is about 6 ipad screens. There are 6 backgrounds and when I put a lot of actors ~40 it started to lag.
The key thing is to test and test and test, then optimize optimize optimize
It also depends on the devices you're publishing to. If you're pushing the cpu, you might want to test on a 1st gen device so you know your game is also playable on those too.
Comments
There is no magic number though so you will just have test things and see what works for you.
The key thing is to test and test and test, then optimize optimize optimize
www.mammothinteractive.net