AztecGameLab / LongTermGame4

welcome to long term game 4!
2 stars 1 forks source link

Audio implementation #238

Closed poetahto closed 3 years ago

poetahto commented 3 years ago

Implemented almost all of the sounds in the Audio folder into the game, and created placeholder particle effects to be improved later. Also fixed a few bugs with the sound system to get it to work with some of the sounds better.

Sounds Added

Note: all Terrain-reliant FX (like the footstep, arrow hit) will default to a stone-based TerrainType if no Terrain is available on the appropriate object. This can be changed to a different default in the PlayerMovement script if appropriate for the scene.

Stuff that didn't get implemented

Bugfixes - Fixed some scene changing related errors with the AudioManager: make sure to call DisposeAll() before changing scenes so it can clear internal state. Maybe creating a custom level loading system to do this automatically would be nice.

Closes #170