Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

fireindy

fireindy Avatar

**
Official Member

114


May 2007
Alright guys, Im working on a theme park simulator in Dark Basic Pro. Something like the old roller coaster tycoon games. I made a video of my artificial intelligence following waypoints on a path, but it only half works because they follow the path in what oreder the tiles were laid down. Im trying to make them smarter so they search the paths around them then move to one of thems, but I have to write an A* algorithm >.< So heres the video:

My Theme Park

The boxes moving are going to be people so. Its a work in progress. Tell me what you think :P



Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Have you tried making a three way path for them to travel to see if that makes a difference?

___
| | |
------

^ Badly done, but you hopefully get the idea.

Anyways, that looks awesome. Keep up the good work on it. :)

fireindy

fireindy Avatar

**
Official Member

114


May 2007
I cant decipher your "picture" Chris, lol. But Im getting the full version of DBP soon, so I can really work on this.


Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Under score and dash = horizontal pathway.
Bar = vertical pathway.

Ok, your current path is diagrammed as this:
__
| |
----

It's two parallel horizontal bars and two vertical bars. I'm suggesting this:
____
| | |
------

Two parallel horizontal bars and three vertical bars, adding an additional path as an option.

fireindy

fireindy Avatar

**
Official Member

114


May 2007
Yah, they will eventually do that. They will choose a random way to go if the tile on the matrix is walkable. Im very close to getting it working. I just ordered the full version of DBP, so this is gonna go into work!


Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Well, good luck with this. It should be a nice project to see completed. :)

Quinine

Quinine Avatar
[5]

*****
Senior Studio Member

1,668


May 2007
Waah. Can't see it, I get a 404 error.

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
steynj said:
Waah. Can't see it, I get a 404 error.


Video shows for me. ???

fireindy

fireindy Avatar

**
Official Member

114


May 2007
cddude229 said:
steynj said:
Waah. Can't see it, I get a 404 error.


Video shows for me. ???


Because its a new month = new bandwith. Im still working on this, but it has slowed down to it because of all my marching band stuff = we practice like crazy.


Quinine

Quinine Avatar
[5]

*****
Senior Studio Member

1,668


May 2007
Ok, now I can! Totally cool! :)

Good Luck!

newBookmarkLockedFalling