CodeBase - Tile based pathfinding for rts,rpg and strategy games.(2d/3d)
Return to the CodeBase listing
Category: 2D
Version: 1.1
Information
Uploaded: 3rd Jan 2010 15:03
Modified: 5th Jan 2010 19:34
Author: Cliff Mellangard 3DEGS
Summary
NEW IMPROVED VERSION! This tiled based pathfinding have 3 levels of terrain to either walk on or avoid.(normal,rough and even rougher) It also tryes to get as close as possible to target if it cant find an path to the original target. If it takes to long to search path or it cant find an path so does it simply exit the loop and waits for a new target. I created this while i whas trying to learn ai coding for path finding. And its easially done for 3d games with some small changes. Screen shot is the neaded media. And this code! works really well :)
Full Description
This tiled based pathfinding have 3 levels of terrain to either walk on or avoid.(normal,rough and even rougher)<br /> It also tryes to get as close as possible to target if it cant find an path to the original target.<br /> If it takes to long to search path or it cant find an path so does it simply exit the loop and waits for a new target.<br /> I created this while i whas trying to learn ai coding for path finding.<br /> And its easially done for 3d games with some small changes.<br /> I used the book Ai game engine programming by Brian Schwab when i wrote this.
Comments
No comments yet.