1 decade ago by programlocura
Hi,
I'm having a problem with the sound and i'm not able to see it yet, i don't know if it is something that i'm doing wrong or what.
I'm creating the sound with:
And using it calling the "play" method:
So, when i execute the game, the sound reproduces once, but the second time i have an error in my console (console.log) saying that the sound can't be found.
Someone has experimented something like this?
Thanks.
I'm having a problem with the sound and i'm not able to see it yet, i don't know if it is something that i'm doing wrong or what.
I'm creating the sound with:
sfxSaveMen : new ig.Sound( "media/sounds/sfx.*" ),
And using it calling the "play" method:
this.sfxSaveMen.play();
So, when i execute the game, the sound reproduces once, but the second time i have an error in my console (console.log) saying that the sound can't be found.
Someone has experimented something like this?
Thanks.