Lag with lots of actors on screen at once.

colburt187

  • *
  • Posts: 2416
Hi, looking for some advice in cutting down on lag when I have many actors on the screen. I have one moving actor I am controlling then around 25 small actors just ideling, a bit like lemmings. Getting a lot of lag. Is it my computer or can the program not handle this many actors in the same scene at once?

Thanks for any tips.

Photon

  • Posts: 2691
Hmm... I'm not sure that amount of actors should cause lag (yet) unless you are running some really heavy code for each. May I suggest looking at this:

http://photongamedev.wordpress.com/2013/05/30/help-my-stencyl-game-is-slowing-down-freezing-or-crashing/
Do NOT PM me your questions, because I likely will not respond. If I have replied to your question on the forum, keep using that topic. Thanks!

colburt187

  • *
  • Posts: 2416
Thanks for the link,

The kill when leaving screen definitely seems to have sped things up a bit,

Much appreciated.

Jay123

  • *
  • Posts: 153
I feel like i'm stuck in groundhog day - same code, same pc, same shite... no retreat, no surrender yaa !!!