GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: FancyScore

Open github-actions[bot] opened this issue 3 years ago • 2 comments

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

FancyScoreProject.zip

Extension file

FancyScoreExtension.zip

github-actions[bot] avatar Sep 30 '22 00:09 github-actions[bot]

This extension should probably be renamed. Something like "PrependZeros".

tristanbob avatar Sep 30 '22 01:09 tristanbob

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".

D8H avatar Oct 03 '22 21:10 D8H

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.

tristanbob avatar Jan 21 '23 03:01 tristanbob