Block/4-dir passage tiles not working

● ARCHIVED · READ-ONLY
Started by Emberstorm 4 posts View original ↗
  1. Hey guys!

    Ran into a problem, I don't think it was always like this, but I realised for my A5 tileset, blocks or 4-dir passage don't work. I can move through anything and everything on the tileset, including the default cliff included on that part of the tileset by Enterbrain.

    Any idea what gives?
  2. The first tile in the B slot needs to be set to star passability, or all passabilities on the entire map with that tileset will be broken
  3. Thanks mate, fixed it! Any idea why changing it breaks it?
  4. Yes. You have basically two layers - the ground layer and the upper layer. Everything on the A tiles is the ground layer. Everything on the B-E tiles is the upper layer.


    The engine looks at passability of the tiles on the upper layer first, to determine whether you can go through something or whether it blocks you. If the passage is set to star, it makes it look at the passability of the tiles on the ground layer instead.


    EVERY tile on the map has a ground layer tile and an upper layer tile - if you don't actually draw with an upper layer tile, it uses the top left B tile, which by default, has no image and says to look at the ground layer for passability (because it's set to star). If you change that, you are changing the passage settings of every tile on the map where you haven't actually drawn with a B-E tile.


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.