This is going to be an educational game which i will develop as an assignment given to me by Mcast. The game will consist of an environmental friendly concept which will involve in a scuba diver collecting waste such as metal cans, plastic bags etc..
The Unlicense
0
stars
1
forks
source link
when i loose the game and get back to the main menu the audio play another time thus creating 2 sounds playing at the same time. #3
To fix this issue i decided to start the sound when level one is loaded and the sound keeps on going until level 3. If the player decides to quit or looses the game the player is then taken back to the main menu and i implemented a code so that when the main menu scene is loaded the audio object is destroyed so that the audio stops playing until the player hits the play button again.
To fix this issue i decided to start the sound when level one is loaded and the sound keeps on going until level 3. If the player decides to quit or looses the game the player is then taken back to the main menu and i implemented a code so that when the main menu scene is loaded the audio object is destroyed so that the audio stops playing until the player hits the play button again.