Tile Adjacency.[edit | edit source]

Adjacency is when a tile touches another tile. There are two kinds of adjacency on square tile maps. There is "normal" adjacency which is just called ADJACENT, and then there is cardinal adjacency, referred to as CARDINALLY ADJACENT.

Adjacency[edit | edit source]

Adjacent tiles are any of the 8 tiles that touch the tile in question. In the image below:

  • The blue tile is the tile in question.
  • The green tiles are adjacent.
  • White tiles are non-adjacent.
Cardinallyadjacent.png

Cardinal Adjacency[edit | edit source]

Cardinally Adjacent tiles are the 4 tiles that directly touch the tile in question, not including the corners. Cardinal Adjacency gets its name from the "four cardinal directions" of North, South, East, and West. In the image below:

  • The blue tile is the tile in question.
  • The green tiles are cardinally adjacent.
  • White tiles are non-cardinally-adjacent.
Adjacenct.png
Community content is available under CC-BY-SA unless otherwise noted.