How do I z-order tilemaps?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
This is a black tileset with 2 tilemaps, props, one animated character and more.
  • Recently for a game I'm making I finally decided to add some depth to the tilemap, but putting another tilemap with a adjusted y-value and a higher layer, and I think it really adds to it. However, it comes with the problem of z-ordering with sprites. On the bottom it works as you would expect, concealing sprites to give a semi-3d-ish effect, but it also conceals them from the top which looks much worse.

    I was wondering if there was a way to somehow z-order the tiles? I could use sprites over each tile and z-order them that way but I'm assuming checking possibly hundreds of sprites every frame would be pretty taxing on the cpu so if theres a way to do it with the tilemap that'd be great!

    (just to help clarify the bottom tilemap is on the bottom layer, the player sprite on its own layer, and the top tilemap is on the uppermost layer)

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't think there's a way to z-order tiles, you'll just have to put them on different layers (with an additional tilemap).

  • There are two tilemaps on different layers, sorry i probably should've taken a better picture I took it in a hallway but the bottom tilemap shows below then player and the top shows above

    But yeah if there's no way to z order with tiles either I'll have to find a way to make sprites not taxing or just stick with the flat tilemap, but thanks though!

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)