playMaker

Author Topic: Score count to target score.  (Read 1829 times)

Aaddiction

  • Full Member
  • ***
  • Posts: 166
Score count to target score.
« on: May 10, 2014, 07:28:06 PM »
Hello,

I wonder if there's already a quick way for a very popular score effect. The rolling score to a certain score number when you see the final score screen. Is something like that possible in Playmaker:
http://answers.unity3d.com/questions/44074/score-count-up-to-target-score-works-tooo-fast.html

I mean, sure it is, but is there a predefined solution for this kind of effect?

Thank you!  :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Score count to target score.
« Reply #1 on: February 07, 2018, 04:02:46 AM »
Hi,

 yes, it's very simple.

Use FloatAdd action, and let it count per seconds ( to be frame rate independant). then convert that float an int and show that inside your UI.

 Bye,

 Jean