Search Unity

2D Grid-based Movement

Discussion in '2D' started by Blue_Skies, Apr 22, 2019.

  1. Blue_Skies


    Apr 2, 2019
    I'm looking for reading materials or videos on how to construct grid-based movement in Unity. I've been searching YouTube for answers and a lot of the content seems to be outdated or written in a slightly different language.

    I'm looking for something that can teach me how to:
    1. Move a sprite inside a grid
    2. Move it in the 4 cardinal directions

    Additional materials on how to do these things would be appreciated as well:
    3. Move in 8 cardinal directions (Northwest, Southwest, Northeast, Southeast)
    4. Be able to pathfind (within the grid)
  2. RidgeWare


    Apr 12, 2018
    EDIT: I decided to remove my extensive and well-thought out reply on the matter, which I made a week ago, since the OP has signed on here several times since and has not even responded with a thank you or shown any interest in discussing it.

    If someone is kind enough to put in a lot of effort to help you, it's bad form to ignore them.
    Last edited: Apr 27, 2019
    Cornysam likes this.