How do i add in music to my game

how can i add in music for a game if i can what are the options for doing it?


Game book or text adventure?

Online version of quest or download/desktop version?


If it's the downloaded desktop one, this way....

play sound ("MUSICNAMEHERE.mp3", false, true)

false is wait for sound to finish before continuing.
true is loop.

stop sound

To stop the current music or sound.

You might also want to make sure to reduce the quality of the music as well so it isn't like 10mb per song. Afterward, put the sound clip in your files wherever you keep the game and it's libraries, if any. Make sure the name exactly matches what you labeled the music as too.

Anonynn.


Documentation:

http://docs.textadventures.co.uk/quest/adding_sounds.html


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums