Automatic unpausing after a certain time limit

Get help using Construct 2

Post » Mon Jan 20, 2014 1:31 am

The effect I want is where the whole game freezes for a fraction of second after dying, and then unpauses for your character to respawn.

What I've gathered from my own testing, as well as reading the manual and searching the forum is that setting the time scale to 0 still permits trigger events, but other events on the event list don't run while the time scale is zero. Is this accurate?

Right now I have it working so that the player can press a key to unpause the game and respawn, but I want that to happen automatically.

UPDATE: Okay, I have the results I want just by setting the time scale to a small fraction so that no movement is noticeable, and setting the time scale back to 1 after a wait of an even smaller fraction of a second.BlueSkies2014-01-20 19:08:42
B
19
S
4
G
4
Posts: 67
Reputation: 3,186

Post » Mon Jan 20, 2014 4:12 am

It would depend on how you have it set up. If you're using a var I would set it up to switch it back after a certain time period.
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
41
S
20
G
6
Posts: 367
Reputation: 7,541

Post » Mon Jan 20, 2014 7:08 pm

I tried a few implementations of that but none would work. The problem is all time periods seem to be frozen when the time scale is 0.

It's not an issue now though. Slowing the game to very small fractions gets the same effect as an outright pause.
B
19
S
4
G
4
Posts: 67
Reputation: 3,186


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 8 guests