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.
Daniel Mowitz b924d38cd8 Some updates that happened while working with the lib. 2 years ago
resources Initial commit 2 years ago
src Some updates that happened while working with the lib. 2 years ago
Cargo.lock Some updates that happened while working with the lib. 2 years ago
Cargo.toml Initial commit 2 years ago
README.md Update README.md 2 years ago
SDL2.dll Initial commit 2 years ago

README.md

Rust-Sdl-Framework

An SDL2-based 2D-game framework based on unsigned 4-bit integers written in Rust. An example binary can be found under src/bin.rs

Colors

15 of the 16 possible values of the u4 ints are set by a color space table given to the renderer. The 16th value is always full alpha.

Docs

You can build the documentation by running running cargo rustdoc

Testing

It is advisable to run the tests in the following manner: cargo test -- --test-threads 1 as the tests otherwise block the SDL environment for each other.