Sorry for always asking for so much help. But I thought it couldn't hurt asking if someone happens to have a working example of an A* algorithm for ZGE?
I really thought I'd be able to get this working, but I only get endless loops and other weird behaviour.
I have a simple 2D array, with a model on a certain coordinate which is supposed to reach another coordinate with a few obstacles in the way. I have tried loads of times now with various implementations, but I can't get it to work.
I've been looking at these, but it hasn't helped that much :
http://www.codeproject.com/Articles/988 ... ementation
http://buildnewgames.com/astar/
http://www.dotnetperls.com/pathfinding
A* pathfinding
Moderator: Moderators
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
I also asked a while back if anyone had an implementation of path-finding,.
I was thinking if an implementation on an array as well,. however what about using a bitmap to take advantage of the multi-threading now offered there?
my Mine game needs path-finding to move units around,. as do most games with any sort of "level" I suppose,. I did try a couple times and got rather frustrated at my lack of logic/math ability,. no need to invent the wheel though so any one done this??
perhaps there is already a .dll rado1 could integrate for speed?
I was thinking if an implementation on an array as well,. however what about using a bitmap to take advantage of the multi-threading now offered there?
my Mine game needs path-finding to move units around,. as do most games with any sort of "level" I suppose,. I did try a couple times and got rather frustrated at my lack of logic/math ability,. no need to invent the wheel though so any one done this??
perhaps there is already a .dll rado1 could integrate for speed?
iterationGAMES.com
Hi jph,
K
You don't need to use the Bitmap component for that though .. the latest Beta includes a Thread component & function ( startThread ) equivalent.jph_wacheski wrote:I was thinking if an implementation on an array as well,. however what about using a bitmap to take advantage of the multi-threading now offered there?
K