R184 -Sound plays when 'pause on unfocus' and minimized

0 favourites
  • 2 posts
From the Asset Store
In this template the music plays without looping in your game
  • Problem Description

    Sound plays when 'pause on unfocus' is set to yes when the game launches minimized. Whereas things like moving a sprite is paused.

    Attach a Capx

    Done

    Description of Capx

    Plays a sound at startup.

    Adds 1 to sprite.x every tick.

    Pause on unfocus set to yes.

    Steps to Reproduce Bug

    • Step 1 - Run game using preview platform Chrome.
    • Step 2 - Minimize Chrome.
    • Step 3 - Run game again. As it is already running it will reuse the tab in chrome but will also be minimized.
    • Step 4 - Listen to start up sound being played despite being paused.
    • Step 5 - Maximize Chrome and observe game resume with no start up sound.

    Observed Result

    Start up sound is played despite the game being paused. So when returning to game no sound is played.

    Expected Result

    I expect the start up sound to only play when Chrome is maximised/back in focus.

    Affected Browsers

    • Chrome

    Operating System and Service Pack

    Windows 8.1 64bit

    Construct 2 Version ID

    184 - 64bit

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Should be fixed in the next build.

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