Performance Issue

In my game it is possible to have at max 160 actors on screen. of these 160, 80 of them have gravity and are visible and the other 80 are invisible and do not.

after around ten of each make it on screen frame rate drop to an unplayable level. is it gravity that is the issue?

i need the actors with gravity to move left but stop if they hit the edge of the screen or run into another actor with gravity. if someone has any ideas...

Comments

  • MSEagle2MSEagle2 Member, PRO Posts: 98
    the behaviors in the actors are the problem. You can have about 250-300 actors on a screen without any behaviors but with physics before it shows any performance hit on the slower end devices (first gen kindle, nook, etc).

    If your actors have timers in them or a lot of rules, that's gonna affect performance. if those 80 invisible actors all have 1 or 2 timers in them then that's 80-160 timers which will destroy performance. constraints will also kill performance.
Sign In or Register to comment.