I have made a death UMG that is added to the viewport when the character dies. I have numbers on the death screen that will display the players distance and the players total amount of coins (both of which I already have an existing variable for). However, I don’t want these numbers to just appear, I would like them to gradually increase (an example of this can be found in this users video, https://www.youtube.com/watch?v=4t-t4MJdWws. When the character dies, instead of the numbers just appearing, they gradually increase)
It’s really like you would think. You just count another variable to your score until it reaches your score, preferably every tick. To make things go faster, you just add by a higher number and if this variable goes over your score, you just set the variable like your score. Yes, it’s simple like that. <3
Here is something even better. Use a timeline, make it go from 0-1. Multiply your score with that. Change the length of your timeline whatever you feel like.
I don’t think timelines are not available in UMG so if your logic is there it wont work… Just replace the tick function with a simple Timer by FunctionName node and call it as often as you need it to happen, then clear the timer(or don’t call it again) when you reach max.
That’s the wrong way, you have to show your code first, to show other people that you actually tried it. Now, you just sound like you want other people to code for you