ftsf / nico

a Game Framework in Nim inspired by Pico-8.
MIT License
624 stars 35 forks source link

Nico support unicode now !!! #116

Open Angluca opened 1 year ago

Angluca commented 1 year ago

Finally, More languages can be displayed .
My friend made a font generation tool for nico, He is Art-Pixel-Font author, His fonts will also be added later ( Add more chars ), Of course this tool can be used to create Art-pixel-font in nico if you want.

It's generate font file very tinyer than woff2 (png+dat only 150+KB), Perfect for web games
And we might rewrite a better nico font tool use nim lang later .
Hope nico is better pixel engine in the future, We like pixel game and nim lang :)

# test
nimble unicode
# or cd examples
nim c -r -d:release unicode

font2 Screenshot2023-05-01 05 04 27 Screenshot2023-05-01 05 02 52

Angluca commented 1 year ago

This font tool ( Still in development, Look forward to it pls : ) nim :
https://github.com/TakWolf/nico-font-tool python :
https://github.com/TakWolf/nico-font-tool.python

These fonts add in nico unicode test , They are all OFL lisence, You can free use them.

QuanPixel font 全小素 像素字体 https://diaowinner.itch.io/galmuri-extended

ChillPixel font 寒蝉 像素字体 https://github.com/Warren2060/Chill-Bitmap

ftsf commented 1 year ago

This is awesome! Thanks so much for all this work!

matkuki commented 1 year ago

@ftsf Will this be merged? I'm really looking forward to this!

ftsf commented 1 year ago

@matkuki i haven't looked over it all yet, been busy, but I'd love to see this merged! nice unicode and font support would be a massive thing for nico!