9de2383712
* Move all examples to individual crates * CI: Add libsdl2 * Use Ubuntu bionic for updated libsdl; 2.0.8 * Clippy * libudev-dev is a dependency of libsdl2-dev * Clippy * Remove unnecessary dev-dependency * `winit` is actually used in unit tests * Fix a typo * Move `simple-invaders` crate |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Hello Pixels
Minimal example with SDL2 using beryllium
.
Running
cargo run --release --package minimal-sdl2
About
This example demonstrates the absolute minimum for creating an SDL2 window and pixel buffer. It animates a purple box moving on a blue background, just for something interesting to display.