New extension: FancyScore
Description
Basically turn 1 into 0001 or 1 into 000001 depending on the length passed as a parameter. Use a Bitmap text for display the score. Use a Text for display the score. Set the number length.
How to use the extension
How to use
- Use a Bitmap text object for display the score.
- Use a Text object for display the score.
- Set the number length. like (4) this will convert 1 into 0001
- Set the score. (Usually a variable or global variable in your game.)
Checklist
- [X] I've followed all of the best practices.
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.
What tier of review do you aim for your extension?
Reviewed
Example file
Extension file
This extension should probably be renamed. Something like "PrependZeros".
Every number formatting expressions should be in the same extension to avoid having a lot of extension doing the same kind of things. Please take a look to other extensions to see if one could be updated or use a very generic name like "NumberFormatting".
Every number formatting expressions should be in the same extension to avoid having a lot of extension doing the same kind of things. Please take a look to other extensions to see if one could be updated or use a very generic name like "NumberFormatting".
We already have one text formatting function in Extended Math... perhaps it could go there? It's not a perfect fit, but I'd love to see more single-function extensions grouped together, like libraries.