VBGamer |
|||||||||||||||||||||||||||
RE: pathfinding and timers Carl (1 reply, 0 views) (2000-Jul-9) I don't have any source code at the moment, but you should search for A* pathfinding, try this at sites like gamedev.net, flipcode.com etc. Also there is a DLL or something you can download here <http://www.daedalusd.com/vbgaming/files/gameai.zip> This does all your pathfinding and stuff for you.
The reason I said search at the above sites is because seeing code will not help you learn pathfinding, you need to understand whats going on, and these sites will probably have some very good tutorials or documents on A*
I'm glad you've seen not to use the timer control, its horrible. Anyway, if your using directX then you can do dx.gettick, otherwise you'll need to use GetTickCount, I'm too tired to remember the declarations for it, but I'm sure somebody will post it.
|