Demos > FONT / LUA


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

1


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