create bitmapfont for pixi.js
- you'll need
nodejs
andgit
installed on you computer. - run command
git clone https://github.com/proudcat/bitmapfont-maker.git
- run
cd bitmapfont-maker & npm install
- run
npm start
to start the tool. - click
import
button to select font image directory(0.png,1.png) - click
export
button to create bitmapfont file(.png & .xml).
- image file name is the letter of the font(1.png,a.png,好.png,ス.png).
- you can find the example at
example
directory . - for now just made the example for
pixi.js
.
- you can read
file format
document at here. - other tools.
- the tool use bin-package algorithm to make the atlas as small as possible.
- you can read the details about bin-package algorithm at here.