yes its pixel based.
ok thats a good way i allready store the pixel edge for my creatures and for the food.
Sorry if i look stupid,
when you said d = x² + y² , what do you mean ?
d (distance one) = (herbivor.x + water1.x) + (herbivor.y + water1.y) am i correct ?
and how do i compute to find the shortest ?