Moving in straight lines

  • #1, by BarneySaturday, 07. September 2013, 23:48 12 years ago
    How do I restrict the character to moving only horizontally and vertically? So that, if the target is to left and down of him, he would go west and then south (or south and then west, whatever) instead of choosing the shortest route and going southwest?

    Newbie

    42 Posts


  • #2, by afrlmeSunday, 08. September 2013, 02:19 12 years ago
    by using the way system paths...

    if you really wanted to restrict movement then you could hem the character in with multiple borders too, I suppose?

    Imperator

    7285 Posts

  • #3, by BarneySunday, 22. September 2013, 13:10 12 years ago
    by using the way system paths...

    Do you mean way points? I have to admit, I haven't figured out how they are supposed to work. I create the borders, put some way points inside, but my character still moves around freely, ignoring those points.

    Newbie

    42 Posts

  • #4, by afrlmeSunday, 22. September 2013, 14:04 12 years ago
    http://wiki.visionaire2d.net/index.php?title=Scenes

    hopefully this page should explain way systems to you a bit better...
    it's a bit outdated but it should still be useful.

    Imperator

    7285 Posts