Is it Better to Have More Actors or More Rules?

millerbrother1millerbrother1 Member Posts: 108
edited November -1 in Working with GS (Mac)
If given the choice, which is better for the performance of a game on the iPhone/iPod?

More Actors with specific rules for each level added into their behavior or fewer "one-for-all" actors with more logic built in to adapt them to each level based on a level Attribute that locks/unlocks these specific rules?

Comments

  • cbtcbt Member Posts: 644
    millerbrother1 said:
    If given the choice, which is better for the performance of a game on the iPhone/iPod?

    More Actors with specific rules for each level added into their behavior or fewer "one-for-all" actors with more logic built in to adapt them to each level based on a level Attribute that locks/unlocks these specific rules?

    I used to have 30+ scenes for my game. But I decided to go with 1 scene but on that scene, all of the actors adapted to all 30 scenes rules.

    For example if level 27 is selected they behave like that. So this way more rules, less actors, less scenes..

    I have to say this gives better performance... A lot..
    And it decreases the overall project size too..
    But you should keep that in mind: Actors shouldn't have so much timers and constrains when adapting to "less actor" way. If yours have, I think you should go with more actors, less rules..

    If not, spend the time and make it less actors, more rules. In my opinion it does worth it..
  • millerbrother1millerbrother1 Member Posts: 108
    Thanks CBT. That's helped a lot.
Sign In or Register to comment.