templetonm / Troglodytes

3 stars 0 forks source link

Create SoundSystem #28

Closed sikrob closed 12 years ago

sikrob commented 12 years ago

Create a SoundSystem that will be able to provide sound effects for various things – basically anything that is animated (incl. particle effects, player, monsters, etc.) should have a sound associated with it.

sikrob commented 12 years ago

SoundSystem is created; player movement sounds work. Music is reduced in volume to prevent sounds from being too annoying. (We could probably make the music volume easy to adjust in a menu or something.)

1 out standing bug: when player moves next to a wall, sound will not play. You can reproduce this by moving to the bottom of a map and moving left or right while holding down. This is because of how the player movement part of the soundsystem piggybacks on the playercontrol collision stuff. I'll fix it in a later issue.