Hi,
in the past I have created different solutions to animate a number, given
the initial and the final values
the update rate
the sound fx to play at each update
etc.
using timers, tweening systems etc, but I’d like to know how do you implement this kind of animations, which tricks or libraries do you use to achieve a smooth result.
Tweening is optional; the important thing is that you update the text once per frame. (Because “once per frame” is the smoothest animation you can make.)