Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I have a problem with stopping the music when on different tab.
I use "browser" plugin and event "on page hidden" but nothing happens. Could you tell me is there a chance to fix that? Or maybe I do something wrong...
Develop games in your browser. Powerful, performant & highly capable.
Confirmed (if my coding is correct)
<img src="http://dl.dropbox.com/u/36472942/construct/bugs/browser-hidden_bug.PNG" border="0" />
Neither of the two browsers condition stops the music or display an alert window.
Tested in Chrome and FF.
Ah, the spec for page visibility is still being worked on. I've fixed it for the next build: it will work in Chrome, but Firefox support isn't coming till Firefox 10, and IE support isn't coming till IE10. I wouldn't rely on those events for anything serious for the time being.
This is very sad to be honest... It's very annoying when music is still playing when you are checking other pages. But if there's no other choice, I'll just wait.