Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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!