Does anyone have any code for playing a song, then when the song is over, a new (random) song is played?
music
BlitzMax Forums/BlitzMax Programming/music examine the directory with music in it, and store every filename in an array or list.
pick a song by (randomly) pick a name from the list or array.
load and play the song and when the song is over, run the pick again.
pick a song by (randomly) pick a name from the list or array.
load and play the song and when the song is over, run the pick again.
I'll have a look, thanks Gillissie, by the way, the link @ coders workshop is pointing to:
http://www.codersworkshop.com/www.gilligames.com/downloads/music.zip
instead of:
www.gilligames.com/downloads/music.zip
this is probably because you didn't put the http:// in there.
http://www.codersworkshop.com/www.gilligames.com/downloads/music.zip
instead of:
www.gilligames.com/downloads/music.zip
this is probably because you didn't put the http:// in there.