playMaker

Author Topic: alternative to scale time for pausing the game (solved)  (Read 3025 times)

gerasimimumu

  • Playmaker Newbie
  • *
  • Posts: 15
alternative to scale time for pausing the game (solved)
« on: March 19, 2014, 01:33:22 AM »
Hi,

I have set up a scale time event, to switch to the pause menu in the game (it's a geo-based custom animated GUI, not the standard unity GUI).  Unfortunately, it seems everything gets frozen and my functions stop working.  Is there a way to exclude certain models from being paused?  Or is there another creative workaround?

Thx,

G
« Last Edit: March 19, 2014, 09:26:13 PM by gerasimimumu »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: alternative to scale time for pausing the game
« Reply #1 on: March 19, 2014, 04:54:29 AM »
Hi,

 indeed, if you stop Unity's time, then everything using this time reference will freeze.

 the other option to to manually pause each fsm, and stop the behavior itself. It's a tricyk situation.

 most frameworks provide a "Real time" option that doesn't realy on Unity's time and so isn't affected by this set time scale action. iTween has it, double check this GEO thing to see if it provides a similar way.

bye,

 Jean

gerasimimumu

  • Playmaker Newbie
  • *
  • Posts: 15
Re: alternative to scale time for pausing the game
« Reply #2 on: March 19, 2014, 09:25:56 PM »
Nice!!! That works!  Thank you sir :)