1 decade ago by fulvio
I noticed that if I define my sound files like below they end up looping in both Chrome and Firefox:
OR
I have OGG and MP3 files so I define my
The documentation states that any of the three will work:
ig.Sound() - Constructor
I&
collect: new ig.Sound('media/sounds/powerup.*')
OR
collect: new ig.Sound('media/sounds/powerup.*', false)
I have OGG and MP3 files so I define my
ig.Sound()
like this (which is actually default settings):ig.Sound.use = [ig.Sound.FORMAT.OGG, ig.Sound.FORMAT.MP3]; ig.Sound.channels = 4; ig.Sound.enabled = true;
The documentation states that any of the three will work:
ig.Sound() - Constructor
I&
039;m just wondering why I'm experiencing looping when using #.*
as opposed to .ogg
?