Hi Guys how do I make my score go like this:
0001
then when the score a point 0002
and so on and for example, a score of 10 would be:
0010
Use zeropad:
zeropad(number, digits)
Pad number out to a certain number of digits by adding zeroes in front of the number, then returning the result as a string. For example, zeropad(45, 5) returns the string "00045".
https://www.construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions
Develop games in your browser. Powerful, performant & highly capable.
Use zeropad: zeropad(number, digits) Pad number out to a certain number of digits by adding zeroes in front of the number, then returning the result as a string. For example, zeropad(45, 5) returns the string "00045". https://www.construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions
Thank you!