How do I prevent pausing when tab is switched?

  • I want the game to keep running even when the use switches to a different tab.

    How can I do that?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the project properties menu, on the left side, there's an option like "pause on unfocus", just disable it.

  • AFAIA this functionality is only applicable when Previewing.

    [quote:b973d3e0]Pause on unfocus

    If set to Yes, the preview will pause when the browser window loses focus, e.g. when switching back to work in Construct 2. This can be useful for certain workflows such as using continuous preview. If set to No the preview will continue to run even without focus, but note switching to another browser tab or minimising the browser window will still pause (as it does with published projects).

  • AFAIA this functionality is only applicable when Previewing.

    [quote:e521r1i8]Pause on unfocus

    If set to Yes, the preview will pause when the browser window loses focus, e.g. when switching back to work in Construct 2. This can be useful for certain workflows such as using continuous preview. If set to No the preview will continue to run even without focus, but note switching to another browser tab or minimising the browser window will still pause (as it does with published projects).

    Ok, thanks!

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