Is logical branch pathing possible for an Active Image?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • What I mean is, can you make a path that is not a "straight" line of nodes, but rather something as simple as a T shape, where there are 4 nodes, 3 across the top and one at the bottom. Then, lets say for example I click the bottom of the T, he will walk from the upper left corner to the middle of the top line, then down to the bottom. But if I click on the right side of the screen, he will walk all the way directly from the left corner to the right corner.

  • You're describing pathfinding using nodes. The most famous/used pathfinding method would be A* pathfinding. There is a pathfinding object (I've never used it before, can't say if it's good or not) or you could develop your own custom pathfinding engine. I actually created my own custom A* pathfinding engine a couple of years ago. You can check out the YouTube video here: Please login to see this link.

    However I haven't looked at that code in awhile and I think it was a bit buggy. I would suggest taking a look at Sketchy's pathfinding example on The Daily Click: Please login to see this link.

    Custom A* Pathfinding in MMF2: Please login to see this link.
    Random Tile World Generation: Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!