[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Pheramonal-Directional Algorithm
From: |
Andrew Sayers |
Subject: |
Re: [glob2-devel] Pheramonal-Directional Algorithm |
Date: |
Tue, 8 Nov 2005 21:18:46 +0000 |
User-agent: |
Mutt/1.5.11 |
On Tue, Nov 08, 2005 at 03:42:58PM -0500, Andrii Zvorygin wrote:
> what i was thinking was that when the first glob using A* finds the
> resources (as the trails will be from a certain inn say to the wheat
> resource) we can along side the type destination borrow a bit to show if
> any water squares are crossed in the proccess (this should be pretty
> simple to implement, simply when it has found the optimal path it runs the
> squares through to check if any are water squares, if yes then we set the
> swim bit, if not then we don't)
>
> btw i forgot to mention, the type will point to 2 bytes that could store
> the end location and swim bit, it wont store the locations to a precise
> point, it can say divide the grid by 4, so instead of 512x512 it will be
> 128x128, and not only will it take up less room. also if a glob gets lost
> it will check the entire square for say wheat instead of just the original
> wheat source.
If the path crosses water, what then? Surely you need a different path
for the globs that can't swim?
- Andrew
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrii Zvorygin, 2005/11/06
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Martin Voelkle, 2005/11/06
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Stephane Magnenat, 2005/11/06
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrew Sayers, 2005/11/06
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrii Zvorygin, 2005/11/07
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrew Sayers, 2005/11/08
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrii Zvorygin, 2005/11/08
- Re: [glob2-devel] Pheramonal-Directional Algorithm,
Andrew Sayers <=
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrii Zvorygin, 2005/11/08
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrii Zvorygin, 2005/11/08
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrii Zvorygin, 2005/11/08
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrew Sayers, 2005/11/10
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Leo Wandersleb, 2005/11/10
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Stéphane Magnenat, 2005/11/09
- Re: [glob2-devel] Pheramonal-Directional Algorithm, Andrew Sayers, 2005/11/11