Wednesday 27 April 2011

Water at last

It took long enough but I managed to fix the line of sight code and get the obstacles working properly. Behaviour is a lot better and creature survival times increased, also fixed the bug that caused creatures to occasionally leave the world.

Added water and thirst, creatures now have two needs instead of one, works using linear logic, but is not realistic. Water locations are stationary, can cause problems depending on obstacle configuration, some set-ups much more survivable than others.

Next step improving the decision making algorithm to handle two needs.

No comments:

Post a Comment