Is there an official pause behavior/plugin?

Get help using Construct 2

Post » Wed Oct 28, 2015 11:46 pm

I looked at rex pause, doesn't really seem to do anything.
Is there a pause plugin, or am I just going to have to do a custom: if paused -dont do things, stop animations,
on unpause: play animations - do every tick events?

Also, how would I pause physics things? They kind of do their own thing, and aren't really on every tick actions.
B
10
S
4
G
3
Posts: 223
Reputation: 3,458

Post » Thu Oct 29, 2015 2:21 am

Is there a problem with using "set time scale to 0"?
Eat ALL THE BACON!
B
45
S
17
G
3
Posts: 290
Reputation: 4,993

Post » Thu Oct 29, 2015 11:05 pm

When I set timescale to 0 to pause, and then unpause by setting timescale to 1 things go crazy, things shoot off in directions chaotically.
B
10
S
4
G
3
Posts: 223
Reputation: 3,458

Post » Thu Oct 29, 2015 11:27 pm

ahh... since people can still interact with objects...

You could set a pause variable... then add a condition that it doesn't work unless that variable is set to 1... (which would be unpaused)
Eat ALL THE BACON!
B
45
S
17
G
3
Posts: 290
Reputation: 4,993

Post » Fri Oct 30, 2015 9:22 am

Place what should be paused in a group and toggle it with the set time scale.
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130


Return to How do I....?

Who is online

Users browsing this forum: imothep85, KTML5 and 9 guests