How do I prevent pausing when tab is switched?

Get help using Construct 2

Post » Wed Jul 27, 2016 10:39 am

I want the game to keep running even when the use switches to a different tab.
How can I do that?
B
25
S
7
G
1
Posts: 200
Reputation: 2,530

Post » Thu Jul 28, 2016 2:00 pm

In the project properties menu, on the left side, there's an option like "pause on unfocus", just disable it.
Riding the Rainbow for all the eternity
B
10
S
5
Posts: 31
Reputation: 934

Post » Thu Jul 28, 2016 2:49 pm

AFAIA this functionality is only applicable when Previewing.

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).
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,374
Reputation: 58,430

Post » Thu Jul 28, 2016 8:21 pm

zenox98 wrote:AFAIA this functionality is only applicable when Previewing.

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! :D
B
25
S
7
G
1
Posts: 200
Reputation: 2,530


Return to How do I....?

Who is online

Users browsing this forum: guannstar, nahima and 20 guests