Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 27/02/2005 20:33:03

Title: How do I play music?
Post by: on Sun 27/02/2005 20:33:03
ARGH! How do I play music in the game?

I have a bunch of original music I want to put in my game. :(
Title: Re: How do I play music?
Post by: Goot on Sun 27/02/2005 21:28:12
You have to name your music files MUSICx, for example MUSIC0, MUSIC1 or MUSIC2, and put them in the game folder. MUSIC0 automatically plays at the beginning of the game. Then you can supply a music number to be played when you enter a room (there's a box for it in room settings) or use PlayMusic(x); for scripting, there will be an action for it if you use the other way of assigning interactions too. Look up music in the manual for more info.
Title: Re: How do I play music?
Post by: strazer on Mon 28/02/2005 19:09:44
AGS Beginners FAQ (http://americangirlscouts.org/agswiki/Music%2C_Sound_%26_Speech#Getting_sound.2Fmusic_into_your_game)

Edit: Updated link