Monday 2 May 2016

Music Implementation



On previous projects, the implementation of music has resulted in a staggered opening as the game transitions between scenes. For multiple levels, this is passable as the music would change depending on the environment and situation. However with the cut scene method we are using for this game, given that the free edition of Unity is in use, we are having to use multiple scenes for one conversation. The constant switching of scenes would course a constant loop of just the first few seconds of the music, as appose to one continuous piece. In order to combat this limitation, the audio was attached to a game object that would be called for each scene, until a specific level was loaded. Given that the scene progression is structured in a linear fashion, calling a particular scene for each audio cue was relatively simple, compared to multiple if statements per audio file.

No comments:

Post a Comment