> > Don't do this. You're using undocumented internals which are not supported and could permanently break at any time.
> >
> > You shouldn't need to manually suspend or resume the engine anyway. Construct handles that for you. If you want to do something like pause the game, set the time scale to 0 instead.
>
> The problem with set time scale to 0, its sounds won't stop and it's continue playing while all game are freezing
As far as I remember, audio files imported as music will keep playing while imported as sounds will not. If I'm correct, you can just categorize your sounds based on this rule. (sadly Music streams if it's a web game)
Alternatively you can set timescales for objects rather than the whole game (can use families of objects to be easier).
I've tried many times and with the help of skymen and we couldn't figure out a consistent way of manually setting C3 to suspend and unsuspend.
Thanks. I checked music and sound folder, it's same. Music don't stop when i change time scale to 0.
Main problem when we using webkit on iOS, and you open new window or swiping between pages with pressed finger, your touch is freezing and you can't do anything with this.
We want to manual suspend game before new window will open, and after reactivate game, when we return to game
Video preview how you can reproduce this bug on iOS
https://drive.google.com/file/d/1h1UORfQVlX4I0e65F2pjzKuF2KnNUAzy/view?usp=sharing