Jump to content

Best way to have lots of sprites while keeping a good FPS?


NotSteve
 Share

Recommended Posts

Hi,

 

I'm trying to make a game that's basically a much more simplified version of terraria but due to the amount of sprites I have, it's impacting the FPS pretty badly. I was wondering if there's some way to have lots of sprites while still keeping a high FPS. 

Link to comment
Share on other sites

Rendering performance has improved a lot for the next version, and you've also got access to Pixi's new SpriteBatch feature as well. So you can either hang tight for a couple of weeks for official release, or test it out now in the 1.2 branch. Beyond that it's common sense really re: speed - re-use textures where possible, kill off-screen or culled sprites, pool your objects, etc.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...