Sound loop

Explanation
This function will play the sound resource with the given index, looping it forever until it is stopped. If the sound is background music the current background music is stopped. This index can either be the name of a sound you added when creating the game or the index that is returned when you create a sound resource while the game is playing. The sound will be looped so it will continue playing forever. Useful for music that you want replayed on a level.