Component Graph System experiment
Clone or download
bors[bot] Merge #69
69: Version bump to 0.4.4 r=kvark a=kvark
Latest commit b24a881 Oct 25, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benches Clippy fixes Jun 7, 2017
demos/cubes Improved splitting Jun 23, 2017
examples Sliced cursors Jun 23, 2017
src Version bump to 0.4.4 Oct 25, 2017
tests Implement Hash for Pointer Oct 16, 2017
.gitignore Initial commit Feb 6, 2017
.travis.yml Bors integration Jun 7, 2017
CHANGELOG.md Fix typo in changelog. Aug 28, 2017
Cargo.toml Version bump to 0.4.4 Oct 25, 2017
LICENSE-APACHE Change project license May 17, 2017
LICENSE-MIT Change project license May 17, 2017
README.md Fix Cargo.toml Jun 7, 2017
bors.toml Bors integration Jun 7, 2017

README.md

froggy

Build Status Docs Crates.io Gitter

Froggy is a prototype for Component Graph System. Froggy is not an ECS (it could as well be named "finecs" but then it would have "ecs" in the name... yikes)! Give it a try if:

  • you are open to new paradigms and programming models
  • you are tired of being forced to think in terms of ECS
  • you like simple composable things

Check ecs_bench for performance comparisons with actual ECS systems.

Example

extern crate froggy;

fn main() {
    let mut positions = froggy::Storage::new();
    // create entities
    let entities = vec![
        positions.create(1u8), positions.create(4u8), positions.create(9u8)
    ];
    // update positions
    for e in &entities {
        positions[e] += 1;
    }
}

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.