How do I pause layout when not on screen (mobile)

Get help using Construct 2

Post » Fri May 12, 2017 12:00 am

Hello!

First of all, thank you all for your help so far! My game making experience has never been this good. <3

Now, my problem:

I'm making a game exclusively for mobile devices (specifically Android first) and whenever people are playing the game and need to change screens, the game continues and continues to play music. I'm kinda alright with the game continuing as it's an endless runner and "turns" are quick, but the music bothers the hell out of everyone.

Is there a way to make the layout, or at least the music, stop when the game is not on the screen?

I tried looking through the manual and previous questions here but haven't been able to find the answer.

Thanks!

-Marcos.
B
15
S
5
Posts: 78
Reputation: 1,173

Post » Fri May 12, 2017 2:38 am

Quick Reply to myself: It only happens if I use WebView. Using CocoonJS' Canvas+ it works just as expected.
B
15
S
5
Posts: 78
Reputation: 1,173


Return to How do I....?

Who is online

Users browsing this forum: lahbach, Waltuo and 20 guests