r/EntityComponentSystem • u/jumpixel • Nov 24 '21
Fastest ECS in JAVA
Which is the fastest ECS library written in Java? And why?
r/EntityComponentSystem • u/jumpixel • Nov 24 '21
Which is the fastest ECS library written in Java? And why?
r/EntityComponentSystem • u/timschwartz • Jan 22 '24
r/EntityComponentSystem • u/timschwartz • Jun 02 '24
r/EntityComponentSystem • u/Deckhead13 • May 19 '20
r/EntityComponentSystem • u/timschwartz • Jul 12 '18
r/EntityComponentSystem • u/ajmmertens • Feb 21 '21
r/EntityComponentSystem • u/timschwartz • May 22 '23
r/EntityComponentSystem • u/[deleted] • Apr 19 '22
I have a basic entity-component-system structure set up for my game. Unfortunately, I have a problem. Some game sprites need to be drawn over other game sprites. Right now, my systems just loop through all the world's entities and draw those with a SpriteRendererComponent. That means that sprites behind can end up being drawn in front, though. Is there a way to sort entities before drawing them?
r/EntityComponentSystem • u/ajmmertens • Jul 17 '19
r/EntityComponentSystem • u/_DafuuQ • Jun 02 '24
Hey, i am interested to see, how you handle the creation/construction of your components in an ECS. 1) Do you have your components to be structs storing data and their constructors. 2) Do you have them created by the corresponding system which handles their update logic. 3) (What i did) Do you have them created in a something like a creator system that is responsible for creating new entities and also handles the creationg of their components. 4) Or is it something completely different. In general i am interested to see how other people manage the lifetime of resources in their game engine.
r/EntityComponentSystem • u/jumpixel • Apr 02 '22
r/EntityComponentSystem • u/ajmmertens • Apr 08 '22
r/EntityComponentSystem • u/Gustavo_Fenilli • Aug 29 '25
I made a really simple ECS https://github.com/fenilli/cupr-kone ( it's really bad lol ) to learn how it works but the ergonomics need a lot of work and performance wasn't even considered at the moment, but it somewhat works.
I was thinking of using generation for stale ids, but it is unused ( not sure how to use it yet ), just brute removing all components when despawn.
and this is the monstruosity of a query for 2 components only:
if let (Some(aset), Some(bset)) = (world.query_mut::<Position>(), world.query::<Velocity>()) {
if aset.len() <= bset.len() {
let (mut small, large) = (aset, bset);
for (entity, pos) in small.iter_mut() {
if let Some(vel) = large.get(entity) {
pos.x += vel.x;
pos.y += vel.y;
pos.z += vel.z;
}
}
} else {
let (small, mut large) = (bset, aset);
for (entity, vel) in small.iter() {
if let Some(pos) = large.get_mut(entity) {
pos.x += vel.x;
pos.y += vel.y;
pos.z += vel.z;
}
}
}
}So anyone who has done an Sparse Set ECS have some keys to improve on this and well actually use the generational index instead of hard removing components on any despawn ( so good for deferred calls later )
r/EntityComponentSystem • u/Jarmsicle • Jun 02 '24
r/EntityComponentSystem • u/gregsolo • Jul 17 '20
r/EntityComponentSystem • u/[deleted] • Mar 06 '23
r/EntityComponentSystem • u/plopzer • Mar 22 '23
I'm wondering if it could solve some of the limitations of TypedArrays.
r/EntityComponentSystem • u/jumpixel • Nov 27 '22
r/EntityComponentSystem • u/sebasjammer • Apr 12 '22
r/EntityComponentSystem • u/mlange-42 • Feb 19 '24
Arche is an archetype-based Entity Component System for Go.
Simple core API. See the API docs.
Entity relations as first-class feature. See the User Guide.
World serialization and deserialization with arche-serde.
No systems. Just queries. Use your own structure (or the Tools).
No dependencies. Except for unit tests (100% coverage).
Probably the fastest Go ECS out there. See the Benchmarks.
Arche now has a dedicated documentation site with a structured user guide and background information. We hope that this will lower the barrier to entrance significantly.
Further, Arche got a few new features:
Query.EntityAt was added for random access to query entities.
Generic filters now support Exclusive, like ID-based filters.
Build tag debug improves error messages in a few places where we rely on standard library panics for performance.
For a full list of changes, see the CHANGELOG.
Your feedback is highly appreciated, particularly on the new user guide!
r/EntityComponentSystem • u/jumpixel • May 30 '22
r/EntityComponentSystem • u/timschwartz • Jul 12 '20
Anyone with at least 3 subreddit karma can edit:
r/EntityComponentSystem • u/SonnyAlvesDias • Apr 29 '21
r/EntityComponentSystem • u/[deleted] • Feb 21 '24
Hello!
I would like to get some opinions and/or suggestions on my little ECS engine attempt. Below is the github link. I'm looking for some constructive advice, possible optimizations, and basically whether or not this project is worth building upon.
https://github.com/n3rdw1z4rd/ecs-engine
Here's a screenshot:
