Moving in straight lines

  • #1, von BarneySamstag, 07. September 2013, 23:48 Uhr vor 12 Jahren
    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?

    Neuling

    42 Posts


  • #2, von afrlmeSonntag, 08. September 2013, 02:19 Uhr vor 11 Jahren
    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?

    Foren Imperator

    7285 Posts

  • #3, von BarneySonntag, 22. September 2013, 13:10 Uhr vor 11 Jahren
    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.

    Neuling

    42 Posts

  • #4, von afrlmeSonntag, 22. September 2013, 14:04 Uhr vor 11 Jahren
    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.

    Foren Imperator

    7285 Posts