A hardware-accelerated 2D sprite renderer. https://crates.io/crates/fae
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jens Pitkänen 0b0e9eac06 Bump version to 0.5.0 1 month ago
examples Fix clippy warnings 1 month ago
src Finish pre-0.5.0 cleanup 1 month ago
.gitignore Remove accidentally added file, prevent future accidents 1 year ago
Cargo.lock Bump version to 0.5.0 1 month ago
Cargo.toml Bump version to 0.5.0 1 month ago
LICENSE.md Add license, set windows subsystem in examples 1 year ago
README.md Update readme 1 month ago
build.rs Simplify version selection 4 months ago

README.md

fae

Fae is a hardware-accelerated 2D sprite renderer, with optional text rendering capabilities.

The rendering is implemented with OpenGL 2.1/3.3 depending on your hardware. Font rasterization uses rusttype for ttfs, and font8x8 can be used as a small fallback font.

Why you shouldn’t use this crate: I haven’t profiled this crate against other similar crates, nor do I have the experience to know if this crate is a good implementation of a 2D renderer. I’m making it to power my own games, because of NIH.

Documentation

See the examples/ as well.

Optional features

  • The text feature provides access to the text rendering API, but requires font8x8 or ttf to be enabled as well.
    • The font8x8 feature provides access to text rendering with the font8x8 font.
    • The ttf feature provides access to text rendering with ttf fonts via the rusttype crate.
  • The png feature provides easy png loading functionality via the png crate.

License

This library is provided under the terms of the MIT license.