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

0 favourites
  • 6 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • 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?

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • System has a 'Set object time scale' and 'Restore object time scale'.

  • 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

    Thanks blackhornet ! Very useful in combination with the Family's suggestion that TheDom makes!

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)