Lagging in a level with lots of blocks (Angry Blosics)

Just got started porting Angry Blosics to Flash, and for some reason, when there are lots of blocks and/or enemies (there are 14) in a level (in this case, level 1-4), the game slows down to a screeching halt. How do I make the game faster while having all these objects on-screen at the same time?
I like making physics puzzle games.
Stay tuned for more Angry Blosics updates!
R.I.P Sploder 2007-2020
Stencyl is the new Sploder.

Justin

  • *
  • Posts: 4589
Does it have to be flash? Other targets are generally faster.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Nvm, turned it back into HTML5, which, for some reason, seems to be faster than Flash when there's a lot of actors! Isn't that confusing?
I like making physics puzzle games.
Stay tuned for more Angry Blosics updates!
R.I.P Sploder 2007-2020
Stencyl is the new Sploder.