Good point.
On Sun, Jan 25, 2009 at 7:19 PM, Stéphane Magnenat
<address@hidden> wrote:
> Problem is that the landscape is constantly changing.
>
> I made a mistake when I presented this issue.
> Actually the globs don't know where the nearest resource is.
> They only know how far away each of their neighbouring squares is
> from the next specific resource.
>
> From a player point of view, we could break that down further:
> A glob only knows which is the next square to which it must go and
> whether it itself is
> the glob that is closest to a specific resource.
> I think that is information that the player has as soon as that glob
> starts to move.
>
>
> We store the pathways as gradient values on each square of the map.
> So the path-finding might not be something that the globs do either.
> It could be some property of the ground that the globs learned to exploit.
>
> We don't recompute that gradient each turn - I think every fifth turn.
> So for a second or so a glob can walk in a wrong direction.
We could say that the globules "smell" the resources.