IE11 problem: Sound ON after closing the game

Discussion and feedback on Construct 2

Post » Tue Aug 23, 2016 1:17 pm

I have an issue,
On platform I'm working on, the games being opened in iFrame, and sometimes when closing the iFrame with the game, the sound (looping background-music) continue to play... But the game is no more existing!!!
It happening only in Internet Explorer...
Is there an option from the game to be triggered when closing the game to force-mute/stop the sound?

Thank you.
B
61
S
31
G
6
Posts: 125
Reputation: 7,895

Post » Thu Aug 25, 2016 1:49 pm

Please, any help?
B
61
S
31
G
6
Posts: 125
Reputation: 7,895

Post » Thu Aug 25, 2016 3:47 pm

It's not really closing the game.
Load a blank html file instead.
Image ImageImage
B
169
S
50
G
173
Posts: 8,313
Reputation: 110,270

Post » Mon Aug 29, 2016 12:01 pm

Wow,

newt wrote:It's not really closing the game.

what do you mean that the game is not really closed?
Is it still runing in the background?
Can the game detect that state?

Thank you!
B
61
S
31
G
6
Posts: 125
Reputation: 7,895

Post » Mon Aug 29, 2016 12:40 pm

I don't know what code you are using, but there is no attribute for closing one.
You can load some other content, or do it via javascript.
Image ImageImage
B
169
S
50
G
173
Posts: 8,313
Reputation: 110,270


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests