Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Toki Pona RichTextLabel

An asset by wawaboopboop
The page banner background of a mountain and forest
Toki Pona RichTextLabel thumbnail image
Toki Pona RichTextLabel thumbnail image
Toki Pona RichTextLabel hero image

Quick Information

0 ratings
Toki Pona RichTextLabel icon image
wawaboopboop
Toki Pona RichTextLabel

A custom RichTextLabel Node which translates toki pona words written in regular text (standard latin characters) into sitelen pona glyphs. The glyphs in the font used are mapped to characters which do not appear in toki pona text, so the translation turns each word into one of those characters, which then appears as the sitelen pona glyph from the font.

Supported Engine Version
3.5
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Toki Pona RichTextLabel for Godot

Description:

A custom RichTextLabel Node which translates toki pona words written in regular text (standard latin characters) into sitelen pona glyphs. The glyphs in the font used are mapped to characters which do not appear in toki pona text, so the translation turns each word into one of those characters, which then appears as the sitelen pona glyph from the font.

README Animated screen recording showing toki pona words being typed into a text box and sitelen pona glyphs being dynammically generated.

Usage:

  • Add a new TokiPonaRichTextLabelType node to your scene!
  • Type lowercase latin/romanized toki poki to the "Text to Parse" field in the inspector, rather than the regular "Text" field. (Example: toki o)
  • Magic! Your text is now appearing in a sitelen pona pixel font!
  • Other features:
    • use brackets encapsulating (ALL-CAPS-TEXT) to create a cartouche (box) around words that should appear in romanized/latin characters, like proper names. Use a dash for spaces(Examples: ma (KANATA), jan (JOHN))
    • use pi and _ to start and stop the underline-style pi (Example: lipu pi toki pona _ (the space is important, pretend '_' is like an invisible extra word/particle)
    • there are a handful of combined glyphs included, which are detected with a dash. (Example: toki-pona). The ones I added were particular to te project I was working on, but you could always add your own by checking the dictionary in toki_pona_richtextlabel.gd and modifying the bitmap font! (see link to bitmap font creator readme below)

README Screenshot of the examples above implemented in the Godot interface.

Attribution

The bitmap fonts in this add-on were made with [Bitmap Font Creator by JohnDevlopment] (https://github.com/JohnDevlopment/bitmap-font-creator).

For the romanized/latin font, I tried to emulate the font used in Tamagotchis.

A custom RichTextLabel Node which translates toki pona words written in regular text (standard latin characters) into sitelen pona glyphs. The glyphs in the font used are mapped to characters which do not appear in toki pona text, so the translation turns each word into one of those characters, which then appears as the sitelen pona glyph from the font.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Toki Pona RichTextLabel icon image
wawaboopboop
Toki Pona RichTextLabel

A custom RichTextLabel Node which translates toki pona words written in regular text (standard latin characters) into sitelen pona glyphs. The glyphs in the font used are mapped to characters which do not appear in toki pona text, so the translation turns each word into one of those characters, which then appears as the sitelen pona glyph from the font.

Supported Engine Version
3.5
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers