assetpack
assetpack copied to clipboard
feat: Bitmapfont add cachebuster & compress
BitmapFont (sdf/msdf)
- add cachebuster
- support mipmap
- add compress
- add support for cachebuster for existing BMFont #88
- use a custom configuration file for sdf/msdf.
Note: To be compatible with compress, the output file name has been changed to xxx.[png|webp|...].fnt. There should be no impact for projects using a manifest. If you need to use xxx.fnt by default, please let me know, and I will take the time to modify it so that xxx.fnt is used without compress.
cachebuster
compress
mipmap
split
replace the file of all pages in fnt
BMFont file
support .xml | .fnt
mipmap is not supported
custom config
The font.charset in the JSON will be merged with the global font.charset, while other fields will be replaced by the JSON.
.json :
pipes :
output (fnt):
output (image):