Skip to content

mochou-p/dacho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (other than the example)

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 example for more

Cargo features

A checked box means the feature is enabled by default

Notes

  • It is recommended to open dacho projects as floating in tiling WMs

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

About

ECS Game Engine

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages