EliteMasterEric / EnigmaEngine

A fork of FNF's Kade Engine that combines its QoL features with true mod support and new gameplay enhancements
https://enigmaengine.github.io/
Other
12 stars 1 forks source link

Enhancement: Rework the Alphabet class #75

Open EliteMasterEric opened 2 years ago

EliteMasterEric commented 2 years ago

There are many improvements that can be made to the custom text element class.

prokube commented 2 years ago
  • [ ] Refactor the whole class (it's kind of a spaghetti pile right now).

Loosely based off FlxTypeText LOOOOOL

  • [ ] Add the capability to select between different spritesheets.

Oh cool. pass a font parameter on creation and pick the sprites from there

  • [ ] Refurbish the existing spritesheet (create a brand new spritesheet to replace the old one, move bold to a separate sheet).

Okay

  • [ ] Add support for numbers and important symbols in bold text.

Yes

  • [ ] Add support for diacritics (in both languages)

Yep

  • [ ] Use Unicode to split and appropriately parse text with diacritics.

uhh

  • [ ] Properly render diacritics

ok

EliteMasterEric commented 2 years ago

The Unicode splitting one essentially means to logically split up symbols like é into an e and a ` symbol. Then when rendering it, move the symbol back one character, resulting in a composite symbol.

Basically I don't want to require some special substitution code to render a Unicode character, instead it should "just work".

Also:

prokube commented 2 years ago

The Unicode splitting one essentially means to logically split up symbols like é into an e and a ` symbol. Then when rendering it, move the symbol back one character, resulting in a composite symbol.

Basically I don't want to require some special substitution code to render a Unicode character, instead it should "just work".

ok

  • [ ] Add support for flag icons maybe?

yes