Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 16/08/2003 21:23:25

Title: Uploading Music
Post by: on Sat 16/08/2003 21:23:25
How do youupload music onto AGS?  ???
Title: Re:Uploading Music
Post by: on Sat 16/08/2003 22:17:56
For example: You have a file called "blabla.mp3" , rename it to MUSIC1.mp3 , MUSICx.mp3 for every further one where x is the music-number. Put it into your game folder.
In your game use command : PlayMusic(int music number).
PlayMusic(1) for example plays MUSIC1.mp3.

If you want to play a Sound call your file SOUNDx.mp3
and use PlaySound(x) in your script.

Important:When you compile your game use the "rebuild vox file"  command if you want to distribute your game with music...

The mp3 format is just an example, same goes for Wav,Ogg,Voc files
for PlayMusic() command even Mid and Mod files...


Read the help file for further information especially multimedia functions
 
Title: Re:Uploading Music
Post by: TerranRich on Sun 17/08/2003 01:09:50
Jesus Christ. For real, read the Beginners' FAQ.