2 unstable releases

new 0.2.0 Aug 27, 2024
0.1.0 Jun 29, 2024

#489 in Game dev

Download history 236/week @ 2024-06-28 9/week @ 2024-07-05 2/week @ 2024-07-19 4/week @ 2024-07-26 158/week @ 2024-08-23

158 downloads per month

MIT/Apache

145KB
4K SLoC

dacho

What is it

An ECS game engine, written in pure Rust

Disclaimer

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

Usage

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

Cargo features

A checked box means the feature is on by default

Notes

  • If you are using a tiling WM, it is currently recommended that you make a rule to open dacho as floating

License

Licensed under either of

at your option.

Contribution

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

Dependencies

~19–34MB
~629K SLoC