Simplest pathfinding around a tilemap track

  • Well, like in the bulletevent, you should check if you're not at the last node, because destinationnode+1 doesn't work there..

    Well, for flexibility, I'd need to tell it "the last node" or something, I can't use a fixed number because I'd have to manually change it for every track I used this on. I can't see anything under pathfinding where I can condition this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • > Well, like in the bulletevent, you should check if you're not at the last node, because destinationnode+1 doesn't work there..

    >

    Well, for flexibility, I'd need to tell it "the last node" or something, I can't use a fixed number because I'd have to manually change it for every track I used this on. I can't see anything under pathfinding where I can condition this?

    The flexibility you are talking about is already implemented in the events that set the bullet-behaviour, so that shouldn't be a problem..

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)