inserting music...

Started by -nitram-, Sat 08/03/2008 00:49:19

Previous topic - Next topic

-nitram-

i would like to know how can i insert music into ags3.0

i havent find out myself...

if anybody can, then please help me!!!

GarageGothic

Unlike graphical resource, you don't actually import music and sounds into AGS itself. You simply place audio files (.mid, .mp3, .ogg, .mod or .xm format) in the game's "music" subfolder on your HD, renaming them to music1.mp3 or music2.ogg and so on. Sound effects are placed in the "sound" subfolder and named sound1.mp3, sound2.ogg etc. You can then play the music from within the game using the PlayMusic(x); function, where x is replaced by the number you added to the file name.

When the game is compiled, the audio will be stored in the music.vox and sound.vox files in your "compiled" subfolder.

-nitram-


SMF spam blocked by CleanTalk