Jump to content

TileMapLayers and no Autoculling


TomFiveThumbs
 Share

Recommended Posts

Hi all,

 

I'm loading in my tiles with the TileMap.createLayer method, and loading in game world objects with the TileMap.createFromObjects method.

 

It seems that createFromObjects has an autocull parameter, but createLayer does not.

 

I'd like to cull everything outside the camera limits as the world I've built is rather large, and it's showing slowdown on mobile devices. So I'm trying to squeeze every bit of optimisation I can out of this thing.

 

Is there another way to cull the tiles in my TileMapLayer object?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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