Jump to content
  • Advertisement
Sign in to follow this  

Having some problems with tilebased pathfinding

This topic is 2556 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


[font="Arial,"]I´m making a puzzle game which needs some pathfinding to guide selected units to their destination. This is my first time dealing with any kind of pathfinding, so I´ve chosen the aStar method which was the easiest for me to understand. (thanks to this wonderfull pagehttp://www.policyalm...tarTutorial.htm). I´ve come quite a way, further than I expected actually but there are still some problems.
I actually have no idea what I'm doing wrong. I've looked at some other exampljes but I'm having a hard time understanding those with my little pathfinding experience[/font]
[font="Arial,"]I've made a sample on wonderfl so you can check out the source. (only the pathfinder class is of importance, you can ignore the rest I think)
[/font][font="Arial,"]You can "fork" and modify it if you think to know the solution.
Been stuck on this for a while and am eager to move on, hope you guys can help me out!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!