Crate pixel_game_lib
source ·Expand description
Utility library for games, not a game engine.
Features
- Window creation with game loop and pixel buffer.
- Asset management.
- Bitmap font drawing.
- Sprite loading.
Feature Flags
default-font
Implements Default
for font::Font
with a font that’s embedded into memory.
hot-reloading-assets
(default)
Hot-reload assets from disk when they are saved. Has no effect on the web target.
embedded-assets
(default on web)
Bake all assets in the assets/
folder in the binary.
When creating a release binary this feature flag should be enabled.
Re-exports
pub use window::window;
pub use assets::asset;
pub use assets::asset_owned;
pub use taffy;
pub use vek;
Modules
- Wrapper around a pixel buffer.
- Render a simple ASCII bitmap font.
- Layout, draw and interact with gui widgets.
- Blittable sprite definitions.