Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Tile Map Is there a way to overwrite rules to solve some "conflicts" ?

Discussion in '2D Experimental Preview' started by Aladine, Jan 27, 2019.

  1. Aladine


    Jul 31, 2013

    I want to create a tile-movement "visualizer" for a mobile game:

    The problem is that in some situations i get issues like this:

    the image above is supposed to look like this (made in photoshop):

    here is a screenshot of the tile rule:

    The problem is that there are cases where i want the "turn" to happen instead of the "straight line", i tried changing the "orders" of the rule, and make the turns only "care" about existing tile and not bother to check if the side that is supposed to be "empty" is indeed empty", but it still not working, from what i can see, here is a more "visual explanation":

    the only solution i could think of at the moment, is to have some sort of "queue" to determine the last tile, at the same time this feels very basic and i think there should be a "built in" way to do it, but i can't manage to find it.

    Any help please ?