| Crates.io | teenygame |
| lib.rs | teenygame |
| version | 0.5.0 |
| created_at | 2024-10-02 09:05:29.378281+00 |
| updated_at | 2024-12-01 00:27:45.319052+00 |
| description | A real simple multiplatform game framework for Rust |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1393878 |
| size | 50,131 |
teenygame is a real simple multiplatform game framework for Rust.
It's designed for 2D games with a focus on providing a way to draw graphics, play audio, and handle input. That's it!
You can run games in your browser using wasm-server-runner:
First install it:
cargo install wasm-server-runner
Then set in up in your .cargo/config.toml in either your project or home folder:
[target.wasm32-unknown-unknown]
runner = "wasm-server-runner"
You can now run your game like any other Rust binary target:
cargo run --target wasm32-unknown-unknown