Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Music In Game
#1
So i've been pushing this matter up for too long now. I currently use fmod and have a simple music system setup in the game that allows for attack sounds, getting hit sound, bkg sound, equip sound.

1. I really don't like fmod, cause it's not fully unloaded if you encounter a error in the client source. So it shuts down the vb program and if things wasn't saved. They are lost. Dave looked into this before cause I beleive he didn't beleive me. Any other methods that doesn't require much effort for the players you know of? What I mean is I don't like dlls and such cause they can't register it. But I know, dlls are needed xD

2. I'm considering not setting a certain track for each map, instead I was thinking what if I have a list with k2h songs. And you can choose which track to listen to. And you can add which of the onse you want as a main ingame song, so that song will be repeated. Or you can just use shuffle or from top to bottom in the list. And of course you can choose no music at all. Is this a good idea?

Please brainstorm on the music idea in the game, cause I hate dealing with music in the game. But whatever. Just help me out ^^
Reply
#2
Quote:Freeware ActiveX Control offers total control over AVI file playback on Win9x and WinNT. You have to try it to believe how cool it is!
Reply
#3
What I ment was the win9x and nt, but I noticed that was only for avi files, right?

You have MusFileNum as a string? Isnt it supposed to be a number? So perhaps as byte?
Reply
#4
Dave Wrote:His code is fine and should work. Look how he uses that MusicFileNumber... just for the path of the file.
Of course it works, you can store numbers in a string if he now uses numbers for his files, what I was saying was his using a numeric variable name Tongue It's just odd programming.

Im going to check this thing out. And see what it is.

Do you know if the file needs to be registered for some? Cause I didnt need to.
Reply
#5
Just use DirectSound7 and DirectMusic7.
Reply
#6
Im considering having all my tracks in a list so the players can choose what to listen to.
Reply
#7
If you don't want DLLs, go with Directsound/Music as GAIKEN suggested, or use WMP as Robin will probably say, since obviously the user has DLLs for both of those if they are playing your game.

Unless they're emulating windows, but chances are those users know how to register a DLL.
XD
Reply
#8
I used to have WMP set up in my source, but it's not really good...the main problem was that if it was loading and the program shut down, it would still load the song and play it in the background until it was over, even if the program wasn't running...but DirectSound/Music is ran through the program, so you don't run into any problems like that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)