Pathfinding

BlitzMax Forums/BlitzMax Beginners Area/Pathfinding

Sanctus(Posted 2006) [#1]
Well I tryed a search but that didn't help me...
In blitz3d there was the A* sistem for pathfinding but now in blitzmax I dont know any so I was wondering if any of you guys know a way how I could do pathfinding in Bmax...
A dwl link would be nice


Dreamora(Posted 2006) [#2]
There is one.
Check out the german bb boards (http://www.blitzforum.de) in the BlitzMax codearchiv section to find it :-)


Sanctus(Posted 2006) [#3]
Thats in german... I don't understand anything
Anyway I was hoping for a pathfinding for dummyes cuz its preety hard for me...(I mearly done it in blitz3D...the 2D version f it)


Dreamora(Posted 2006) [#4]
Yes its in german ... but remember, we are reading the english boards as well although we are german speaking :)

After all not that hard to understand if you understand the basic concepts behind A* which I assume you do. (if not google for A* and you will find many many A* for dummies pages as you are looking for)

gamasutra.org and gamedev.net are normally the place to start searching


Sanctus(Posted 2006) [#5]
Thx
Oh and I'm from Romania and I speek romanian,english and a bit of french :P absolultey no german(maybe just ja nein und dakesheun... did I spell ok?)


Oddball(Posted 2006) [#6]
There's an A* example in the BlitzMax sample folder, and an A* example on the BlitWiki.
[a http://www.blitzwiki.org/index.php/Category:AStar_Pathfinding_%28Module%29]Astar pathfinding module[/a]


deps(Posted 2006) [#7]
This is a nice A* tutorial: http://www.policyalmanac.org/games/aStarTutorial.htm


Jesse(Posted 2006) [#8]
His source code is still in the blitzcoders webpage:
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=turtle177604062002002208&comments=no
It is in blitzplus but easy to convert.
I converted the chaser demo to BlitzMax:
name astarlib.bmx


you can test it with this:
name chasergame.bmx


create a folder, put both files in there and copy the graphics folder from the tutorial samples in to your new folder and try.

EDITED:

sorry guys I uploaded the wrong files. It should be ok now ;).


Sanctus(Posted 2006) [#9]
Thx a lot jesse :D:D *hug*


Jesse(Posted 2006) [#10]
SORRY! Sanctus, I fixed the chasser game file . it works now.