Hey Guys. I was doing some testing with TileMap in my shiny new platformer engine. I was hoping someone out there knew the answer to this question before I do a lot of reworking for just a chance of better performance.
I’m building my levels using TileMap. They are admittedly quite large. So I’m noticing that I start getting lag with more than 2 layers of graphics. Call me greedy, I’m building a 1080P game running at 60 FPS. The tiles are 50x50.
So, If I understand correctly, Tilemap is basically building a large image from the tiles, so each time I use Tilemap to make a layer of graphics, I’m making another large image, which Flash doesn’t care for.
So my question is: Would I get better performance by placing more smaller entities/graphics than I am now by using Tilemap to essentially make one large image for each layer? Would I even notice a difference?