Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Siddd on Wed 22/10/2008 15:01:23

Title: about adding music (SOLVED)
Post by: Siddd on Wed 22/10/2008 15:01:23
sorry this is so simple but i cant find how to do it:

how do i add music to the game? and can i add any music that i want?
Title: Re: about adding music
Post by: on Wed 22/10/2008 15:34:16
OGG and MIDI is best, but you can also have MP3, MOD and XM files. To add music, copy the files into the music folder of your game. File names must be music1, music2 and so on. Then, you can either enter the number of the music file (1 to play music1.mid, for example) into a room's setting tab, or call it with the PlayMusic command.

Entering the number in the room tab is pretty straightforward; the PlayMusic and some related commands can do some tricks, though, so you may want to check it in the manual.
Title: Re: about adding music
Post by: Khris on Wed 22/10/2008 15:42:17
Exactly:
http://www.adventuregamestudio.co.uk/manual/Multimedia%20functions.htm
http://www.adventuregamestudio.co.uk/manual/PlayMusic.htm
Title: Re: about adding music
Post by: Akatosh on Wed 22/10/2008 16:22:07
You may also want to check here (http://www.adventuregamestudio.co.uk/manual/Tutorial.htm).