playMaker

Author Topic: [SOLVED] How to display a rolling score? (Int interpolate?)  (Read 2743 times)

JennaReanne

  • Junior Playmaker
  • **
  • Posts: 57
    • Little Worlds Interactive
Hi all - I'd like to display a rolling score at the end of my levels, where the score counts up from zero to the player's score in a few seconds.  How can I accomplish this?  Right now I'm using a "Float Interpolate", but that looks bad because it's giving me decimal values.  I searched for an "Int Interpolate" action but couldn't find one.  How are people implementing this kind of functionality?

Thanks,
Jenna
« Last Edit: June 25, 2014, 11:10:35 AM by JennaReanne »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: How to display a rolling score? (Int interpolate?)
« Reply #1 on: June 25, 2014, 10:55:57 AM »
Hey Jenna,

I made an Int Interpolate Action for you. Easy peasy just some name changes and tiny math change. =)

http://hutonggames.com/playmakerforum/index.php?topic=7709.0
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

JennaReanne

  • Junior Playmaker
  • **
  • Posts: 57
    • Little Worlds Interactive
Re: How to display a rolling score? (Int interpolate?)
« Reply #2 on: June 25, 2014, 11:09:34 AM »
That is just beautiful.  Thank you SO much!

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Re: [SOLVED] How to display a rolling score? (Int interpolate?)
« Reply #3 on: June 25, 2014, 06:35:41 PM »
lol I converted them all to floats - used ease float and then back to int ^^