Crates.io | dacho |
lib.rs | dacho |
version | 0.2.0 |
source | src |
created_at | 2024-06-29 21:41:14.709683 |
updated_at | 2024-08-27 01:50:43.990791 |
description | ECS Game Engine |
homepage | |
repository | https://github.com/mochou-p/dacho |
max_upload_size | |
id | 1287640 |
size | 156,499 |
An ECS game engine, written in pure Rust
This project is in it's early stage
A lot of features are still WIP or TODO
Expect breaking changes at each release
There is no documentation yet
The current ECS implementation is temporary
In dacho, you insert Systems into schedules
// A simple usage example
use dacho::prelude::*;
fn main() {
let mut app = App::new("My game");
app.start(|_| println!("Hello, World!"));
app.keyboard(|_, key, is_pressed| {
if is_pressed && key == Key::Space {
println!("jump!");
}
});
app.run();
}
See the dacho example for more
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions