yourSoundName = makeSound(filename)
Where:
filename is a string representing a sound file. wav or ogg files are acceptable. (note: mp3 is not supported)
Note: The sound does not play until playSound is called.
eg. bangSound = makeSound("Bang.wav")
bangSound = makeSound("Bang.wav")
There was an error while loading. Please reload this page.