Monday 14 April 2008

Environmental Sounds working

With using the quick TreeLocator class in Ecology it's easy to determine the entities/groups around the player, so I've added a doEnironmental call to the GameStateContainer which is called when Engine is ticking an environment event in every 16 seconds. Then it's looked up which groups are around and the EntityMember descriptor tells what sounds can be played (EntityMember's audioDescription is used for storing this information). I've added sounds for the human commoners, gorilla and wolf groups. Check the SVN if interested, you'll get sounds right after starting a new game.

1 comment:

Lynchburg Tree Removal said...

Veryy nice blog you have here

Twitter