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 / major AI problem

Author
Message
Dr Manette
19
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 5th May 2006 04:57
I am trying to make an AI that moves around a maze and doesn't go through the walls. So far, I've tried using static lines and boxes to detect walls and than rotate the object away so it goes in a different direction.

However, I have had no luck! It's getting very frustrating. Could someone please help me out with this or give an alternative?

Bio Fox...four guys, one computer, games like nobody's business.
Xander
22
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 5th May 2006 11:28
Check out IanM's pathfinding functions, they can be found in the codebase. However, I'm not sure if they are specific for DBPro...they may use custom datatypes, so they might not work in DB Classic

Xander Moser - Bolt Software - Firewall
Dr Manette
19
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 8th May 2006 03:43
Thanks

Bio Fox...four guys, one computer, games like nobody's business.

Login to post a reply

Server time is: 2025-05-23 14:51:40
Your offset time is: 2025-05-23 14:51:40