Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / How do i make a Route Finder for a C&C style game?

Author
Message
BobCat
21
Years of Service
User Offline
Joined: 1st Jun 2003
Location:
Posted: 16th Jul 2003 22:10
I wanna make a C&C style game but i dont know how to make a route finder. I will be using seperate sprites for obstacles. Sorry i have no code, i needed the finder to start
--
>^..^< >^..^<
Ishamael Sedai
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: France
Posted: 17th Jul 2003 00:27
have U tried pathfinding yet ?

I am the Betrayer of hope naebl'is by the will of
the Great Lord of the Dark. If you do not want to surrender, your soul will burn in the deepest hole of the Pit of doom.
BobCat
21
Years of Service
User Offline
Joined: 1st Jun 2003
Location:
Posted: 17th Jul 2003 10:40
To be honest no. I want to know a method or a few tips to get me started. Like do i use a sprite and record which way to go somehow or put a sprite just ahead to detect collision?
Anything like that would be greaty appreciated.
<Joe>

>^..^< >^..^<
arras
22
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 17th Jul 2003 18:49
i did such a code, but sorry may be I am bit selfish but I will not give it to you just like this.

But what i can is to give you link to pages where there are described some ways hove to do it yourself:

http://www.policyalmanac.org/games/aStarTutorial.htm

I used it to create my own pathfinding code. read it carefuly few times to be sure you understand whats about and then go and code it yourself. there are les and more dificult ways hove to do it described so I recomend you to start with easy one.

One more thing -you have to split your map in to tilles even if its real time game. But thats no problem normaly.

Good luck...
BobCat
21
Years of Service
User Offline
Joined: 1st Jun 2003
Location:
Posted: 17th Jul 2003 19:43
Thanks Arras. No problem about the code. I only wanted a few tips and a method anyways.

>^..^< >^..^<

Login to post a reply

Server time is: 2025-05-19 10:33:17
Your offset time is: 2025-05-19 10:33:17