Expand Pulp fonts to support standard Playdate glyphs

I noticed the Buttons section of the Designing for Playdate documentation says the following:

When instructing the player about your game’s UI, it’s helpful to enclose the A and B in circles... We provide glyphs for this in many of our fonts, mapped to the following characters:
Ⓐ Ⓑ
By the way, we have also font characters for other Playdate buttons:
:yellow_square::lock: :fishing_pole_and_fish::arrow_up: :arrow_right: :arrow_down: :arrow_left:

These are not supported in Pulp fonts at the moment.

Related: Add new char into the font - #3 by neven

1 Like

This is true—Pulp fonts aren't like Playdate .fnt fonts. They're really a set of tiles, much like the ones you use elsewhere in Pulp.

To add extra text characters to a Pulp game, you have two options:

  1. Repurpose another glyph. For instance, if you don't expect to use the characters [ and ] in your game, you could draw those as encircled Ⓐ and Ⓑ. Then use those in the text, e.g. Press [ to jump.

  2. Draw these as world tiles, then use the {embed:} syntax to use them inside text. E.g. Press {embed:button_A} to jump.

See more on embedding here.

1 Like