dacho

Crates.iodacho
lib.rsdacho
version0.2.0
sourcesrc
created_at2024-06-29 21:41:14.709683
updated_at2024-08-27 01:50:43.990791
descriptionECS Game Engine
homepage
repositoryhttps://github.com/mochou-p/dacho
max_upload_size
id1287640
size156,499
mochou (mochou-p)

documentation

README

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

Commit count: 155

cargo fmt