GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Actor/Spawning Limit.

Omegas7Omegas7 Posts: 37Member
edited 1:01PM in Tech Support
I got a game where I spawn a lot of actors...
Sometimes they are so many that it crashes.

How many actors do you recommend me to limit the game?
100-200?

And if it were for the iPhone?

Comments

  • quantumsheepquantumsheep Posts: 8,188Member
    Are you destroying your actors once they go off-screen? That might help...

    Though 100-200 sounds like a lot to me! :O

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: http://www.quantum-sheep.com

  • SDMGSDMG Posts: 280Member
    very interesting question... i think we have to wait for the iphone-previewer to test this out...

    i have reduced my moving actors from 25 to 18 for example to reduce the needed processing power...

    So i assume your actors are static... ?

    ...destroying your actors might help... but if you have to spawn them again when going back in your scene... this could be very expensive...
  • CodeMonkeyCodeMonkey Posts: 1,803Head Chef, Member, PRO
    There is a 256 limit on collidable actors.
This discussion has been closed.