Jump to content

Tilemap OR Objects to manage ground layer ?


flashpapa
 Share

Recommended Posts

Hello everybody,
I'm doing a little game plateform for fun and for the ground management and for more speed, I wondered if was worth better not use (for optimization) :

- Tilemap : But I feel that after a certain number of box it starts to slow down... (and i can use player.body.blocked.down to know il player is landing)

land_tmx.jpg

 

OR

- Objects that define the ground and far fewer (but i loose player.body.blocked.down to know il player is landing)

land_tmx 2.jpg

 

And that's make ->

land_tmx 3.jpg

And all mixed ->

land_tmx 4.jpg

 

I manage this with tiled like that ->

land_tmx 5.jpg

 

What is the best practice to design ground  and manage ground collision to keep a max of fps ?

thank for help and this great forum ;)

Here the sources.zip

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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