nico_font_tool

A tool for converting fonts to NICO Game Framework format fonts.


Keywords
pico-8, game, font, fonts, game-engine, gamedev, nico, nim
License
MIT
Install
nimble install nico_font_tool

Documentation

NICO Font tool

A tool for converting fonts to NICO Game Framework format fonts.

There is also a Python version see: nico-font-tool.python.

Installation

nimble install nico_font_tool

Usage

Command

TODO

Scripts

See: gen_fonts

import nico_font_tool

let (sheetData, alphabet) = createSheet("your/font/file/path.ttf", 8)

savePalettePng(sheetData, "outputs/palette/dir", "outputsName")
saveDatFile(alphabet, "outputs/palette/dir", "outputsName")
  
saveRgbaPng(sheetData, "outputs/rgba/dir", "outputsName")
saveDatFile(alphabet, "outputs/rgba/dir", "outputsName")

Dependencies

License

Under the MIT license.