(AGK version: 2)
Submitted: 2018-02-24 21:02:55
` LoadMusicOGG Simple Usage Example
`                     by magnet
`
` I added this to help others, because I was having a loading issue and the compiler traceback was vague.
` All it said was that the file failed to load.
` Hope this helps someone. I was on linux, but it shouldn't matter.

// first, load our OGG Vorbis file
// failed right here.. file was OGG, but NOT Vorbis
// loaded and exported it with Audacity to Vorbis
    song = LoadMusicOGG("song.ogg")
    SetMusicSystemVolumeOGG(song,50)
    PlayMusicOGG(song)

// you will need to rename or create a file as "song.ogg" for it to work.
// Happy hacking!!!
// mag
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.