![]() |
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 :) |
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.