How do I Freeze the game except for a single animation?

Get help using Construct 2

Post » Tue Apr 08, 2014 1:58 am

Whenever one object, let's call it a bear, touches another object that will "kill" it I would like for the the entire game to freeze except for the bear. Whenever the game is frozen I would like the bear show a quick animation and then move across the screen to its starting location. After the bear is in the starting position I would like the game to unfreeze and continue as normal.

Is there a way for this to be done in Construct 2?
B
3
Posts: 2
Reputation: 179

Post » Tue Apr 08, 2014 12:23 pm

Put all the objects you want into a Family, if it's a lot, and set the time scale for the 0.0 when you trigger the animation and reset it.1.0 when animation ends.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Tue Apr 08, 2014 1:44 pm

@TheDom what do you mean "set the time scale"? The animation set speed? Or is there a per object time scale somewhere? The only time scale I know about is under System conditions and acts globally.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829

Post » Tue Apr 08, 2014 2:03 pm

System has a 'Set object time scale' and 'Restore object time scale'.
ImageImageImage
B
71
S
21
G
233
Posts: 3,696
Reputation: 130,368

Post » Tue Apr 08, 2014 2:56 pm

blackhornet wrote:System has a 'Set object time scale' and 'Restore object time scale'.


Duh! This part of the monitor was in by blind spot I guess :oops:

Thanks @blackhornet ! Very useful in combination with the Family's suggestion that @TheDom makes!
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829

Post » Tue Apr 08, 2014 3:25 pm

@girroucho What I did in mine is just as @TheDom suggested.
I set the time scale to 0.0 and the object I still want to move (in my case a particle generator) to have its object time scale set to 1.0.
You find this in the System events. It is really usefull for when you want to do cool combinations line slow downs speed ups and "freezes" on objects or players. Play around a little with it it's quite fun.
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796


Return to How do I....?

Who is online

Users browsing this forum: yiuyiu6666 and 27 guests