1 decade ago by 80bit
Is it possible to have multiple instances of music playing at once (different source files)?
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
ig.Music
is created at ig.music
(lowercase), but you can always create more instances if you need. E.g.:// in your games init() function: ig.music.add( 'track1.ogg' ); ig.musicSecondary = new ig.Music(); ig.musicSecondary.add( 'track2.ogg' ); // play both ig.music.play(); ig.musicSecondary.play();
039;s a <1> method for music... you could hack in a #.fadeIn()
method as well.