playMaker

Author Topic: [Solved] Is there an action to interpolate an Int? (or how can I do this?)  (Read 1550 times)

createasaurus

  • Full Member
  • ***
  • Posts: 146
Hi,
When my character gets or spends money, I'd like the money display to quickly count up or down one coin at a time.  Is there a custom interpolate Int action that I can't find?  Or how would one do this?
Thank you!
« Last Edit: October 08, 2015, 01:00:41 PM by createasaurus »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Is there an action to interpolate an Int? (or how can I do this?)
« Reply #1 on: October 08, 2015, 08:37:25 AM »
Hi,

 Any tweening action will do that. Have you tried "easeFloat", set the tween to linear and you are good to go.

 Bye,

 Jean

createasaurus

  • Full Member
  • ***
  • Posts: 146
Re: Is there an action to interpolate an Int? (or how can I do this?)
« Reply #2 on: October 08, 2015, 01:00:24 PM »
Perfect.  Just what I was hoping for.  Thank you.