I was looking at this game for some time now. I'm using the AssetManager with a little bit rewriting done. I have one problem with SM2. I see how are you using it, but as soon i try the same thing, it doesn't work. I'm talking about the repeatable play of some sounds that you have loaded with the AssetManager.
I have forced the html5 audio, but that's the only difference. My audio doesn't replay after it stopped playing the first time. The only solution I've found is to destruct the sound which is not exactly what I want, cause that way I have to load the sounds every time when I want to play them.
Could you please explain me what's the trick? I see you are not specifying anything for html5 audio and you are not destroying the sound object.
I was looking at this game for some time now. I'm using the AssetManager with a little bit rewriting done. I have one problem with SM2. I see how are you using it, but as soon i try the same thing, it doesn't work. I'm talking about the repeatable play of some sounds that you have loaded with the AssetManager.
I have forced the html5 audio, but that's the only difference. My audio doesn't replay after it stopped playing the first time. The only solution I've found is to destruct the sound which is not exactly what I want, cause that way I have to load the sounds every time when I want to play them.
Could you please explain me what's the trick? I see you are not specifying anything for html5 audio and you are not destroying the sound object.