sounds and musics

C++, C#, Java, PHP, ect...
Post Reply
tomtefan
Posts: 46
Joined: Tue Jun 22, 2010 12:46 pm

sounds and musics

Post by tomtefan »

Like the topic says.

How can i put that into the game ? sound and music gives all games a whole other level.

Whould be cool to have music for special places, But, if the player jumps around alot on the meny
it could get irritating to have the music / sound reload from begining all time.

Is it possible to have it open a new window instead where it playes the music ?
and that it will update that window, depending on where you are..

ex: if iam in town, (inc all shops and such) it should play a song 1.
but if i enter the arena it playes song 2. (only for the arena).


any ideas ? or know where i might look for answears ?

maybe its good to have a mute button option also, as not everyone might like the music / sounds
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: sounds and musics

Post by Chris »

You could make this with loads of different ways.

What you'll want to avoid is the user using plug-ins to play the music, like windows media player or iTunes etc, which goes very slow.

You would be better off making your own music player in flash and using JavaScript to run the flash file.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: sounds and musics

Post by Jackolantern »

And you probably want to make sound and music default to off, since even in a game, webpages that suddenly start spouting sound can be irritating. If you do want to make it default to on, start off with a very light music at the first page with steadily increasing volume so people can know it is coming.
The indelible lord of tl;dr
Post Reply

Return to “Coding”