Skip to main content

Crate bitmapfont_creator

Crate bitmapfont_creator 

Source
Expand description

BitmapFont Creator - A CLI tool to create bitmap fonts for Phaser games

This library provides functionality:

  • Parse JSON configuration files for character images
  • Load and process character images (with frame extraction and padding)
  • Pack images into a texture atlas
  • Generate Phaser-compatible XML font files

Re-exports§

pub use error::BitmapFontError;
pub use error::Result;
pub use config::FontConfig;
pub use config::CharConfig;
pub use config::Frame;
pub use output::OutputResult;

Modules§

config
Configuration parsing module
error
Error types for bitmapfont-creator
image_loader
Image loading module
output
Output handling module
packer
Texture packing module
xml_generator
XML generation module for Phaser BitmapText format