pixel-game-lib 0.4.5

Utility library for 2D pixel-based games
Documentation

pixel-game-lib

Build Status Crates.io Documentation License: GPL-3.0 Downloads

Documentation

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.

physics

Enable the 2D XPBD-based physics engine.