playMaker

Author Topic: Animate Int  (Read 2983 times)

bkups2003

  • Playmaker Newbie
  • *
  • Posts: 49
Animate Int
« on: November 01, 2013, 03:38:01 AM »
Hello,

Is it possible to have an "animate int" action? This would make it easier for me to have a label count upwards to a value instead of just setting it to a value. Similar to how in some games, when you get some points or collect money etc. it doesn't iimmediately set it, but will count up to it along an animation curve, starting fast and then slowing down and stopping on your total score/money.

Thanks alot.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animate Int
« Reply #1 on: November 01, 2013, 07:22:04 AM »
Hi,

 Simple use the action "convert float to int", animate a float, and convert it every frame, and you'll get a nice int counter.

bye,

 Jean

Budde88

  • Full Member
  • ***
  • Posts: 165
Re: Animate Int
« Reply #2 on: February 25, 2016, 02:17:37 PM »
Hey Jean,

I know it's an old post, but I did as you suggested and i couldn't get it working. Mind telling me what's wrong with my setup?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animate Int
« Reply #3 on: March 04, 2016, 02:45:49 AM »
Hi,

 it indeed looks a bit messy :)

 can you explain what you are trying to achieve?

Bye,

 Jean