Flecs-Rust
Flecs-Rust copied to clipboard
a Rust API for Flecs : a fast entity component system (ECS)
A super nice feature this library could have is trait query. Similar to: https://github.com/JoJoJet/bevy-trait-query I'm not fully grasping ecs internals but it seems that flecs Components beeing entities, it should...
This should be Defense instead of Damage right?
When you want to add a singleton to query, you need to choose a term using `term_at` or filter using `with` and then say it is a singleton. However it...
Hello! I noticed that the README mentions that support for wasm32-unknown-unknown is in progress. Could you provide an update on the current status of this? Thanks!
Feature complete - [x] hello world - [x] entity - [x] queries - [x] relationships - [x] observers - [ ] game mechanics - [x] systems - [x] prefabs -...
In Rust 1.77.0, [C-string literals have been stabilized](https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html#c-string-literals) and can be created with `c"foo"`. As such, using CStrs are easy to create, and I believe we should aim to be...
The current implementation of the binding is restricted to handling Enum components where each field is mandated to be 4 bytes in size. This contrasts with Rust's default behavior, which...
This patch allows creating hooks for untyped components, they receive c_void mutable ptr instead of typed reference (maybe creating a meta cursor instead could be a good idea?). Also this...
Requires multi-threaded system handlers to be `Fn + Send + Sync` to avoid undefined behavior from having multiple `&mut` references to the same value and moving `!Send` and `!Sync` types...