load
Loads a sound from a file, which can be in WAV, OGG, or MP3 format. The loaded sound should be unloaded with Sound.unload when it is no longer needed.
Return
The loaded sound.
Parameters
file Name
The name of the file to load the sound from.
Loads a sound from a file, which can be in WAV, OGG, or MP3 format. The loaded sound should be unloaded with Sound.unload when it is no longer needed.
The loaded sound.
The name of the file to load the sound from.