Uploading Music

Started by , Sat 16/08/2003 21:23:25

Previous topic - Next topic

Single Cell

How do youupload music onto AGS?  ???

dtm1980

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
 

TerranRich

Jesus Christ. For real, read the Beginners' FAQ.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk