You can support the development on the Github Sponsors page.


Tech > FONT / LUA


example how to render font from the foreground sprites
made by Nesbox
uploaded by AlRado
added:
updated:
download cartridge
- CLICK TO PLAY -

2


Comments


BraininaBowl

I don't get it. According to the documentation (https://github.com/nesbox/TIC-80/wiki/font), sprite 256 should be the symbol for 0, but here sprite 304 is the symbol for 0. How does this work?

trixie

in ASCII symbol #0 is null, and the number characters begin at symbol #48 with the character for "0"

256 + 48 = sprite #304


Post comment