Jump to content

Phaser P2 Tilemap Slopes


XychoZ
 Share

Recommended Posts

Hi!

If I use p2 physics what is the most effective way to add slopes to my tilemap? I use tiled.

I saw a solution here (below) where you make the tile layer with the slope tiles non-collidable, and you make an object layer on top of that where you draw polylines, and make the object layer collidable, but thats not that efficient if you design a level and want to try out a lot of variations.

So my question is, is there a more efficient way of doing this? For example like in ninja physics where you can associate the tiles with different shapes.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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