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

0 favourites
  • 2 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Quick Reply to myself: It only happens if I use WebView. Using CocoonJS' Canvas+ it works just as expected.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)