All of the questions are in there (as comments in red, mostly to do with how to shuffle), as well as comments to what each event does (in orange):
EDIT: If the link still doesn't work, use this:
http://www.freewebtown.com/rickygaming/Help.zip
Printable View
All of the questions are in there (as comments in red, mostly to do with how to shuffle), as well as comments to what each event does (in orange):
EDIT: If the link still doesn't work, use this:
http://www.freewebtown.com/rickygaming/Help.zip
The link is invalid. :o
^ Just in case you're all waiting to see a reply I put it on my website ^
There must be a better way to do this.
By the way, I want to make it so only music files are displayed. Is that possible without too much trouble?
(BUMP)
Could anyone help?
(BUMP)
I use music shuffling sometimes so a random music will play, maybe this code will help?
Use counter.
Always
-Set counter to 1+random(<total number of musics>)
and
Counter = 1
+No Music is Playing
-Play Music 1
That will get you a random music when you fire up your game.
It's not a game, its just a music player, but I will try it!
Did you get the mfa? I want to make sure you all understand what I'm after
It didn't work. Is there some way else to do this? Anyone got any better ways?
load the list of music files into a list object (their paths), then generate a random number based on the number of lines. Play the file of the number generated by loading the line in the list.
You could make it delete the line when played so you don't get any repeats in the shuffle similar to iTunes and many other players I'm sure...
I never thought of using a list! I'll get on this right away!