Author Topic: Ignore Timescale  (Read 3166 times)

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Ignore Timescale
« on: November 19, 2012, 10:50:24 AM »
Hi Aren,

Can you tell us what's the benefit of ignoring or not the timescale in the tween scripts ?

Thanks !

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Ignore Timescale
« Reply #1 on: November 19, 2012, 05:12:07 PM »
When you pause the game via timescale = 0, you want your UI to still work as if the game wasn't paused. For this, you ignore the timescale.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Ignore Timescale
« Reply #2 on: November 21, 2012, 12:25:00 PM »
Thanks for the answer,

I've read somewhere that setting the timescale to 0 is not a so good idea to pause the game. Any issue you're thinking about when setting timescale to 0 ?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Ignore Timescale
« Reply #3 on: November 21, 2012, 05:19:26 PM »
The main thing you have to be aware of when setting Time.scale = 0, is that your deltaTimes will be 0. It shouldn't really change other stuff.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Ignore Timescale
« Reply #4 on: November 21, 2012, 06:34:16 PM »
THX for the precision Nicki!