Wednesday, February 4, 2015

Main Page Background Music



After refine and restore the error and code, i realized my main dont have anything sound effect so i did a sound function to call the background music and make it loop until player login and start the games.

Image1 show i call the music and how i make it loop.

Images 2 show i will pause the music when it load to the game page.

References,. 'Playing Audio With Javascript?'[online] Available at: [Accessed 5 Feb. 2015.],. 'Sound Effects In Javascript / HTML5'. [online] Available at:  [Accessed 5 Feb. 2015.], (2014). How do I implement press and hold button javascript?. [online] Available at: [Accessed 24 Dec. 2014].

No comments:

Post a Comment