Make pausing freeze everything but a text box

Get help using Construct 2

Post » Fri May 09, 2014 3:43 am

I have a message box that will pop up every once in a while, and I want it to pause my game when it appears. The trouble is, setting the global time scale to 0, and its own time scale to 1, will still prevent its text from appearing (triggered by "Every X seconds").

How do I set the time scale to 0 to pause the game, but still allow this textbox to continue adding text and calling the un-pause event?
B
9
S
1
Posts: 98
Reputation: 853

Post » Fri May 09, 2014 8:54 am

How about using local variable to pause the game.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Fri May 09, 2014 3:42 pm

My problem is not having the game remember whether it's paused or not. My problem is having the pause affect everything except the text box.
B
9
S
1
Posts: 98
Reputation: 853

Post » Fri May 09, 2014 6:45 pm

Use the Timer behavior instead of "every x seconds". You could add Timer to the text object and keep it's time scale at 1.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Fri May 09, 2014 6:59 pm

Works like a charm. Thanks!
B
9
S
1
Posts: 98
Reputation: 853


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 59 guests