PDA

View Full Version : [WIP] Pathfinding - Age of Nations WIP



yonaba
June 8th, 2009, 23:02
Hi all,
well there's been a long time i've posted here.I have been, but i'm back for a while, so i can take the time to work on old project.

I spend a long time learning a bit about pathfinding algoritm techniques, specially Dijkstra's Algoritm and A-Star.After working a whole night long, i've been able to add this for units move.

So I share this with the whole community.The main problem will now be able to move many units at the same using the same pathfinding procedure.

I thanks LMelior for A-Star Pathfinding tutorial, and Altaïr for the Algorithm.

Pathfinding - Age of Nations WIP
Lua Coded By Roland Y. (a.k.a. SeanPaul223)
Credits to :Altaïr's A-Star Algorithm & LMelior Tutorial

http://nsa08.casimages.com/img/2009/06/08/090608113753921888.jpg

http://nsa08.casimages.com/img/2009/06/08/090608113849520202.jpg

http://nsa07.casimages.com/img/2009/06/08/090608113935173621.jpg


What's This:
This a single demo release for Pathfinding Algorithm.
I've developed it for my RTS project Age of Nations.
The main aim of this is guiding a unit on a map.

Basics Commands:
Arrow keys & Joypad: Move Selector
Cross: Set a target for unit move
SQuare+D-Pad: Browse Map
L: Activate Debug Mode
R: Disable Debug Mode


Known bugs:
When you click on a house to order the unit to move, the howmebrew crashes.This should be linked to the way the code is.
Anyway, i'll try tofix later.

Compatibility:
Works Slim & FAt PSP.
EXtract contents into ms0:/PSP/GAME/

Download: Pathfinding (http://www.2shared.com/file/6190881/3fb950ef/pathfinding.html)
Video:View Video (http://tinypic.com/r/2vnqfi9/5)

Contact:
Roland (http://roland.xtreemhost.com)

osgeld
June 8th, 2009, 23:52
good to see you back Roland

yonaba
June 9th, 2009, 10:46
Thanks, And bunch of work to do.

dangee
June 9th, 2009, 21:12
Ah, nice to see AofN again