r/EntityComponentSystem • • Aug 29 '19

EnTT v3.1 is out: gaming meets modern C++ - a fast and reliable Entity-Component-System (ECS) and much more

Thumbnail
self.cpp
5 Upvotes

r/EntityComponentSystem • • Aug 20 '19

ECS back and forth: Part 4, insights - Hierarchies and beyond

Thumbnail
skypjack.github.io
5 Upvotes

r/EntityComponentSystem • • Jun 17 '19

Entity-Component-System (ECS) back and forth: the talk

Thumbnail
self.gamedev
5 Upvotes

r/EntityComponentSystem • • Jun 10 '19

Syncing a data-oriented ECS with a stateful external system · Our Machinery

Thumbnail ourmachinery.com
5 Upvotes

r/EntityComponentSystem • • May 16 '19

EnTT v3 is out. Gaming meets modern C++... again!

Thumbnail
self.gamedev
5 Upvotes

r/EntityComponentSystem • • May 07 '18

New ECS Framework for 2D games based on Kha/Haxe

Thumbnail nazariglez.github.io
5 Upvotes

r/EntityComponentSystem • • Jun 01 '26

[ANN] Ark.jl v0.5 - Archetype-based Entity Component System (ECS) for Julia

Thumbnail
reddit.com
4 Upvotes

r/EntityComponentSystem • • Nov 13 '25

[ANN] Ark.jl: archetype-based entity component system (ECS) for games and simulations

Thumbnail reddit.com
4 Upvotes

r/EntityComponentSystem • • Aug 29 '25

Really simple Rust ECS working, but ergonomics and performance probably bad!

4 Upvotes

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 • • May 04 '25

C# ECS : any benefits of using structs instead of classes here?

Thumbnail reddit.com
4 Upvotes

r/EntityComponentSystem • • Mar 19 '25

Ark ECS v0.4.0 released

Thumbnail
reddit.com
4 Upvotes

r/EntityComponentSystem • • Jun 02 '24

Question about ECS #2: What about ordering of systems?

Thumbnail self.gamedev
4 Upvotes

r/EntityComponentSystem • • Feb 19 '24

Arche v0.11 released -- The Go ECS, now with a brand new user guide!

4 Upvotes

Arche is an archetype-based Entity Component System for Go.

Arche's Features

  • Simple core API. See the API docs.

  • Optional logic filter and type-safe generic API.

  • 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.

Release Highlights

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 • • Feb 05 '24

Issues with Component Retrieval in C++ ECS Implementation

Thumbnail self.cpp_questions
4 Upvotes

r/EntityComponentSystem • • Jan 31 '24

Component Confusion

4 Upvotes

So i have played for a while with OpenGL, and i have a Mesh class with constructors to create a mesh from a vector with vertices and indices, another that loads it from a .obj filea and now i am gonna try to implement marching cubes, so there will also be a third constructor, that creates it from a IsoSurface / Signed Distance Function, and i have written this mesh class, before i added ECS in the project. So i have a bunch of struct components with only data with them and all their functionality is on the systems that inluence them. But the rendering system is only a simple iterator with calls mesh.draw() for each entity with mesh component. Now do you think that it will be better to make my Mesh class as the rest components to store only data and rewrite all the Mesh functionality in the RenderingSystem, or it would be better to leave it this way ? My question is, is it better to treat all components as pure data, or is it sometimes a better choise to have some of them have their own functionality encapsulated in them ?


r/EntityComponentSystem • • Jan 21 '24

How to make non ECS code work with ECS code?

Thumbnail self.gameenginedevs
4 Upvotes

r/EntityComponentSystem • • Mar 22 '23

Has anyone tried to use WASM SQLite as an ECS for the web?

4 Upvotes

I'm wondering if it could solve some of the limitations of TypedArrays.


r/EntityComponentSystem • • Mar 06 '23

My thoughts on entity systems, and a rudimentary ECS-like implementation in my game from scratch

Thumbnail
youtu.be
4 Upvotes

r/EntityComponentSystem • • Nov 27 '22

Dominion VS Artemis, the missing benchmarks (link in the comments)

Post image
4 Upvotes

r/EntityComponentSystem • • Oct 05 '22

Agents, Goals and Behavior

4 Upvotes

Hi everyone (spriteKit and gamplayKit),

I've just added flocking as a goal to the behavior of my monster entities in a game I'm coding in gameplayKit, but they are still overlapping with one another. This begs the question; is gameplayKit really reliable for creating autonomous objects in swift? Also, does anyone know where I'm going wrong or care to help me?

Hope everyone is well,

Thanks everyone.


r/EntityComponentSystem • • Sep 06 '22

ECS: What are your criteria for Entity vs. Component?

Thumbnail self.gamedev
4 Upvotes

r/EntityComponentSystem • • May 30 '22

Dominion official Early Access, the Java17 Entity Component System now available as a snapshot from the Maven Central repository

Thumbnail self.java
4 Upvotes

r/EntityComponentSystem • • Apr 12 '22

for all the c# lovers, Svelto.ECS 3.3 is now out (twitter thread with some useful links)

Thumbnail
twitter.com
4 Upvotes

r/EntityComponentSystem • • Mar 26 '22

How can I perform one-time operations on an entity?

4 Upvotes

I have a rigid body component that is being synchronized with the internals of the physics system that I am using. Now, I want to be able to do something like applyForOnRigidBody(entity, {0.0f, 0.0f, 200.0f});.

This creates a bit of a problem for me because in my entity design, I have one constraint. The component properties MUST represent the current state of the component. I don't want to have a property like appliedForce, which calls internal physics systems's addForce and clears the value in the component because now the appliedForce in component does not actually represent the value of the current force in the physics system.


r/EntityComponentSystem • • Feb 03 '22

An "ECS" example of Voxel Chunks with Multithreaded Greedy Meshing with LWJGL

Thumbnail
self.voxelgamedev
4 Upvotes