Total Members Voted: 23
New dev video is awesome Keonesan.
Let people CHOOSE the music >:D
Making it so that players can select their own music from their computer during gameplay would be extremely hard to code and probably way above my current level of knowledge.
Then make it from the main-menu only.
http://www.newgrounds.com/audio/listen/5395http://www.newgrounds.com/audio/listen/358643http://8bc.org/music/Death+Star+Drive-By/Lazerus/http://8bc.org/music/revraikes/Creepy+Doll/http://8bc.org/music/Lone+Zero/Creepy+Kid+with+a+Game+Boy/Remember, music doesn't have to always play, sometimes it's nice to just listen to the world.
/*Load Custom Music ScriptBy IcyGammaDescription: Really basic code (if you're familiar with loading external files) so don't bother crediting, just learn from it or paste.*///Look for audio file to play, giving it the variable file loadfileload=get_open_filename("MP3 Files|*.mp3|WAV Files|*.wav|MIDI Files|*.midi|All Files|*","")//Add the file, using variable "fileload" to describe the path, as taken from the above code. We call this sound "music" just so we can play it later.music=sound_add(fileload,0,0)//Here we play the sound. You should stick this code in the room you want it to play in. //You can change the variable "music" to other tracks to switch between songs.//We also check if fileload equals nothing, meaning no file path was loaded so the user must have not selected anything.//If no sound exists, exit.if (fileload=""){show_message("No sounds were selected!")game_end()}else{sound_play(music)sound_loop(music)}
I beg to differ. You probably already know this but:All you have to do is create a shortcut key or menu to let people select their music. Or have it detect is a directory, i.e, music, exists and then load a random song out of it. Custom music is easy. :o