Author Topic: Suggestion: UISpriteAnimation stop/pause function  (Read 3144 times)

rain

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 79
    • View Profile
Suggestion: UISpriteAnimation stop/pause function
« on: June 13, 2012, 10:55:58 AM »
Hi!


It would come handy for me, if there was a function or property in the UISpriteAnimation which would make the animation stop or pause, so i wouldn't need to modify this script every time an update is released.


Best Regards

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Suggestion: UISpriteAnimation stop/pause function
« Reply #1 on: June 20, 2012, 09:11:50 AM »
Hi, exactly the same here, it would be really great to be able to pause an animation !

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Suggestion: UISpriteAnimation stop/pause function
« Reply #2 on: June 20, 2012, 12:28:08 PM »
Sure thing. I've modified it to allow FPS to go down to 0 (which also allows 0-1 values such as 0.1 that someone was asking for last week as I recall).

rain

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 79
    • View Profile
Re: Suggestion: UISpriteAnimation stop/pause function
« Reply #3 on: June 21, 2012, 08:20:55 AM »
Awesome

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Suggestion: UISpriteAnimation stop/pause function
« Reply #4 on: June 22, 2012, 02:35:47 AM »
Thanks !