AggrorJorn Posted February 11, 2012 Posted February 11, 2012 I have got the tutorial demo almost working correctly. The Dijkstra algorithm works, just a little more code (and some tweaking, bug fixing) and it evolves to A*. Here is a little screenshot to get you going: 1 Quote
Pixel Perfect Posted February 12, 2012 Posted February 12, 2012 Congrats, seems to be coming together nicely Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++
AggrorJorn Posted February 12, 2012 Author Posted February 12, 2012 After 6 hours work the entire A* algorithm works. (had this dumb bug that kept messing things up). Only thing left to do is using your mouse to set a new startposition, endposition and coloring walls. http://www.leadwerks.com/werkspace/topic/4573-tutorial-a-pathfinding-with-c/ image: A* in all its glory. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.