5c1600926e
* Update dependencies - Closes #270 * Unify controls in Invaders example The fire button on gamepads was allowing trapid fire when holding the button. Keyboard controls required the fire key to be released between each shot fired. This commit fixes the difference by making the gamepad fire button act like the keyboard fire key. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Hello Pixels
Minimal example with winit
.
Running
cargo run --release --package minimal-winit
About
This example demonstrates the absolute minimum for creating a winit
window and pixel buffer. It animates a purple box moving on a blue background, just for something interesting to display.
It uses winit_input_helper
to provide a slightly better code presentation, but it doesn't greatly reduce the number of lines in the example.