I'd like to display the variable "life" as 005, 010, 020 and so on. I have a spritefont with the text set as the "life" variable.
But it doesn't display the zero's. When trying zeropad I still can't figure it out.
Here's a example of what I'm trying to achieve: