Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Moving in straight lines

  • #1, by Barney 13 years ago Zitieren
    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?
  • #2, by afrlme 13 years ago Zitieren
    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?
  • #3, by Barney 13 years ago Zitieren
    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.
  • #4, by afrlme 13 years ago Zitieren
    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.