.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   New to AI Programming (http://forums.bots-united.com/showthread.php?t=5680)

@$3.1415rin 29-09-2006 23:03

Re: New to AI Programming
 
yes, that's a common reason as well :)

you might wanna write some testbed for your A* like the A* Explorer from generation5.org so you see what A* coveres of your map when searching. nice for debugging :)

DrEvil 29-09-2006 23:33

Re: New to AI Programming
 
Nice, 30ms is pretty decent performance I would guess for a script implemented A*. It's still enough to hitch the game, so you might want to time splice it, by either only letting it do x iterations of A* per update, or only spend x time per A* update. Time splicing is usually a part of the path planning in most games. There's usually plenty of things u can do to hide the slight delay if its too much. Play an acknowledgement sound, start an animation, etc.


All times are GMT +2. The time now is 03:47.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.