QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[WIP] Pathfinding - Age of Nations WIP

This is a discussion on [WIP] Pathfinding - Age of Nations WIP within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi all, well there's been a long time i've posted here.I have been, but i'm back for a while, so ...

Reply
 
LinkBack Thread Tools
Old 06-08-2009, 03:01 PM   #1

Developer
 
seanpaul223's Avatar
 
My Mood: Psychedelic
Join Date: Dec 2007
Location: B.F.
Posts: 308
Trader Feedback: 0
Default [WIP] Pathfinding - Age of Nations WIP

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








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
Video:View Video

Contact:
Roland
__________________
00:00: Windows is loading...Come back tomorrow.
01:00 : Booting done.Not yet errors encountered...
01:10: Fatal error.Windows has been detected on logical drive
01:22: Keyboard Locked, try everything.
01:42 : Mouse Device Pilot not found, or uninstalled.Press Left-Bouton to continue.
01:50 : Ending User session.Do you want to play another game ?
01:59: Not enough memory.Only 508'312'583 bytes available.
02:00 : System is shutting Down.
seanpaul223 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2009, 03:26 PM   #2
 
Join Date: Mar 2009
Posts: 8
Trader Feedback: 0
Default

nice
it'll be nice if you can make a rts game like age of empires on psp :P
all that was made in lua ? pro.
hamedia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2009, 03:27 PM   #3

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,313
Trader Feedback: 0
Default

Out of interest, have you tried this with an actual maze of houses?
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2009, 03:48 PM   #4

Developer
 
seanpaul223's Avatar
 
My Mood: Psychedelic
Join Date: Dec 2007
Location: B.F.
Posts: 308
Trader Feedback: 0
Default

Quote:
Originally Posted by hamedia View Post
nice
it'll be nice if you can make a rts game like age of empires on psp :P
all that was made in lua ? pro.
Yes, all was written in Lua.

Quote:
Originally Posted by yaustar View Post
Out of interest, have you tried this with an actual maze of houses?
Of course i did, and it works fine.
I just set 60 houses on a 1920x1632 map size for this release.But it works with more than 60 houses.
__________________
00:00: Windows is loading...Come back tomorrow.
01:00 : Booting done.Not yet errors encountered...
01:10: Fatal error.Windows has been detected on logical drive
01:22: Keyboard Locked, try everything.
01:42 : Mouse Device Pilot not found, or uninstalled.Press Left-Bouton to continue.
01:50 : Ending User session.Do you want to play another game ?
01:59: Not enough memory.Only 508'312'583 bytes available.
02:00 : System is shutting Down.
seanpaul223 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-09-2009, 03:02 AM   #5
Pro Hacker
 
nickxab's Avatar
 
My Mood: Daring
Join Date: Jan 2009
Real First Name: Nick
Location: Greece,Limnos
Just Played: Cross Fire
Posts: 2,498
Blog Entries: 3
Trader Feedback: 0
Default

LOL nice game.
__________________
Phat PSP 1004 TA-079 v3+Sony 16GB Mark II with 5.00 m33-6+1.50 kernel+5.01 patch+6.10 version.txt
iPhone jailbroken with OS 3.0
PS2 Slim model SCPH-75004 + MC boot 1.8

Fujitsu Simens Amilo PA1510+2.5GB Ram+AMD Sempron 3400+ 1.8GHz+Windows XP

My site
My qj blog
My guides
Patch the 5.50/6.00 games to work with all FWs
My CWCheat databases





nickxab is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-11-2009, 12:49 PM   #6
 
Althor's Avatar
 
Join Date: Apr 2009
Posts: 51
Trader Feedback: 0
Default

Man, you have to work on this game, it looks brilliant and I think it has loads of potential. Definetly one to make the QJ News column I think ^_^. Keep it up and best of luck on the awesome homebrew ^_^.
Althor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-12-2009, 04:47 AM   #7

Developer
 
seanpaul223's Avatar
 
My Mood: Psychedelic
Join Date: Dec 2007
Location: B.F.
Posts: 308
Trader Feedback: 0
Default

Thanks.
__________________
00:00: Windows is loading...Come back tomorrow.
01:00 : Booting done.Not yet errors encountered...
01:10: Fatal error.Windows has been detected on logical drive
01:22: Keyboard Locked, try everything.
01:42 : Mouse Device Pilot not found, or uninstalled.Press Left-Bouton to continue.
01:50 : Ending User session.Do you want to play another game ?
01:59: Not enough memory.Only 508'312'583 bytes available.
02:00 : System is shutting Down.
seanpaul223 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-12-2009, 07:00 PM   #8

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,349
Trader Feedback: 0
Default

question, does this have ai enemy's yet?
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2009, 11:22 AM   #9

Developer
 
seanpaul223's Avatar
 
My Mood: Psychedelic
Join Date: Dec 2007
Location: B.F.
Posts: 308
Trader Feedback: 0
Default

this release is not about the game AoN, but just to see units moving using pathfinding.
__________________
00:00: Windows is loading...Come back tomorrow.
01:00 : Booting done.Not yet errors encountered...
01:10: Fatal error.Windows has been detected on logical drive
01:22: Keyboard Locked, try everything.
01:42 : Mouse Device Pilot not found, or uninstalled.Press Left-Bouton to continue.
01:50 : Ending User session.Do you want to play another game ?
01:59: Not enough memory.Only 508'312'583 bytes available.
02:00 : System is shutting Down.
seanpaul223 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
age , nations , pathfinding , wip

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 01:39 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright Š 2009, QJ.NET. All Rights Reserved.
Contact Us