This forum is read only and just serves as an archive. If you have any questions, please post them on

1 decade ago by 80bit

Is it possible to have multiple instances of music playing at once (different source files)?

1 decade ago by dominic

Yes. By default one instance of ig.Music is created at (lowercase), but you can always create more instances if you need. E.g.:

// in your games init() function: 'track1.ogg' );

ig.musicSecondary = new ig.Music();
ig.musicSecondary.add( 'track2.ogg' );

// play both;;

1 decade ago by 80bit

How doing some kind of sound fadeIn? Any plans for a function in sound.js?

1 decade ago by dominic

There's a .fadeOut() method for music... you could hack in a .fadeIn() method as well.

Put it on my todo list for the next version :)
Page 1 of 1
« first « previous next › last »