Author Topic: Uploading Music  (Read 791 times)

Single Cell

  • Guest
Uploading Music
« on: 16 Aug 2003, 21:23 »
How do youupload music onto AGS?  ???

dtm1980

  • Guest
Re:Uploading Music
« Reply #1 on: 16 Aug 2003, 22:17 »
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

  • I'm Terran Riiiick!
    • I can help with characters
    • I can help with proof reading
    • I can help with story design
    • I can help with translating
    • I can help with voice acting
    • I can help with web design
    • TerranRich worked on one or more games that was nominated for an AGS Award!
Re:Uploading Music
« Reply #2 on: 17 Aug 2003, 01:09 »
Jesus Christ. For real, read the Beginners' FAQ.
Status: Trying to come up with some ideas...