Thursday, February 28, 2008

MUSIC

Music is what makes your game appealing to people.
Music is what makes the game warmer, and allows you to connect emotionally with your audience.

simple sound loading for background sounds:

music= LoadSound("gone.mp3")
LoopSound music
PlaySound music


LISTER CODE SETUP (for 3d sound) :


music= Load3DSound("gone.mp3")
LoopSound music

ghostspeaker = CreateListener(man,0.2,0.1)
EmitSound(music,enemy1)

please make sure that the objects used for the listener and the emit sound object already exist before you try to use them.

No comments: