Crates.io | ecs |
lib.rs | ecs |
version | 0.23.1 |
source | src |
created_at | 2014-11-21 22:48:22.177919 |
updated_at | 2016-03-14 00:50:14.690336 |
description | An Entity Component System (ECS) Framework |
homepage | https://github.com/HeroesGrave/ecs-rs |
repository | https://github.com/HeroesGrave/ecs-rs |
max_upload_size | |
id | 321 |
size | 77,808 |
An Entity Component System (ECS) library written in Rust.
For info about why an ECS may be beneficial, see some of these articles:
There is a large variety of ways an ECS may work. This particular one is similar to Artemis. Although this isn't a port to Rust, most functionality should be similar, and the tutorials/manual there should be able to make up for the current lack of documentation here.
Add ecs
to your Cargo.toml
[dependencies]
ecs = "*"
(Of of course you can pick a specific version, but at least until version 1.0, that's probably not a good idea)
There are parts of a WIP tutorial in the doc/
directory. More work is being done but I'm a little bit busy on other projects and don't have that much time.
I've opened an issue for questions here. Alternatively, you may occasionally be able to catch me on the #rust-gamedev IRC channel. This is the fastest way to get help but if I'm not there then leave the question in the aforementioned issue thread.
At the moment the documentation is rather lacking, but at least some information can be gathered by looking at the API docs. Run cargo doc
in your project and open up the ecs
docs in your browser.