wasm4 icon indicating copy to clipboard operation
wasm4 copied to clipboard

Add special characters to system font

Open aduros opened this issue 3 years ago • 3 comments
trafficstars

The font bitmap has empty space reserved for ASCII characters 0x80 through 0xA0.

We should use that space for something, like icons for WASM-4 controller buttons, or generic sprites like stars/hearts/etc.

Games can then use hex string literals to easily display these:

text("Press \x80 to jump!", 0, 0);

If anyone enjoys making pixel art and would like to modify the .png, I can follow up with updating the encoded images in the runtimes!

aduros avatar Dec 13 '21 23:12 aduros

Here's a first go at possible glyphs.

image

I've posted a prettier, high resolution version in the Discord. As it stands, these additions would need to be revised, both in the choice of symbols and how they're drawn.

OliveIsAWord avatar Dec 27 '21 08:12 OliveIsAWord

https://polyducks.itch.io/kitchen-sink-textmode-font/devlog/222046/kitchen-sink-font

Just game across this...

joshgoebel avatar Dec 28 '21 14:12 joshgoebel

Here's a first go at possible glyphs.

image

I've posted a prettier, high resolution version in the Discord. As it stands, these additions would need to be revised, both in the choice of symbols and how they're drawn.

+1 on playing card suits - would be useful in a project I'm working on right now :)

DenialAdams avatar May 07 '22 19:05 DenialAdams