Skip to content

Little more clarification #2

@talamaska

Description

@talamaska

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions