Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
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
I want to have a text counter where there will always be 3digits
So it will be like this:
098 and so on..
Anyone got an idea and/or example of how to do this?
Zeropad is what you need. Format is zeropad(number,digits)
Thanks for the help!
Could someone maybe create an example?
When you set your text in event sheet :
myText : Set text to zeropad(myVariable, 3)
Develop games in your browser. Powerful, performant & highly capable.
Wow, that's amazing. I'd been making a whole slew of actions to add zeros, didn't know there was a function to do it haha.
Excellent stuff. <img src="smileys/smiley32.gif" border="0" align="middle" />
Anyone that might provide a capx?