r/EntityComponentSystem • • Nov 24 '21

Fastest ECS in JAVA

2 Upvotes

Which is the fastest ECS library written in Java? And why?


r/EntityComponentSystem • • Jan 22 '24

Converting a render system to a ECS?

Thumbnail self.gameenginedevs
0 Upvotes

r/EntityComponentSystem • • Jun 02 '24

Question about ECS #1: How to avoid data races?

Thumbnail self.gamedev
0 Upvotes

r/EntityComponentSystem • • May 19 '20

An Entity Component System with Data Locality in C++ (code walk-through)

Thumbnail
indiegamedev.net
5 Upvotes

r/EntityComponentSystem • • Jul 12 '18

Game Entities and Game Loop

Thumbnail
self.gamedev
1 Upvotes

r/EntityComponentSystem • • Feb 21 '21

ECS: From Tool to Paradigm

Thumbnail
ajmmertens.medium.com
8 Upvotes

r/EntityComponentSystem • • May 22 '23

ECS and transform hierarchy

Thumbnail self.gamedev
2 Upvotes

r/EntityComponentSystem • • Apr 19 '22

Specific order

2 Upvotes

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 • • Jul 17 '19

A quick overview of how I implemented inheritance in my ECS framework (see post)

3 Upvotes

r/EntityComponentSystem • • Jun 02 '24

How do you handle component constructors

3 Upvotes

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 • • Apr 02 '22

Dominion official Preview. A Java Entity Component System (ECS) with outstanding performance

Thumbnail
self.gamedev
3 Upvotes

r/EntityComponentSystem • • Apr 08 '22

I wrote a blog on how to build games with Entity Relationships in ECS

Thumbnail
ajmmertens.medium.com
13 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 • • Jun 02 '24

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

Thumbnail self.gamedev
4 Upvotes

r/EntityComponentSystem • • Jul 17 '20

Entity Component System in Action with TypeScript

Thumbnail
medium.com
4 Upvotes

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 • • 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 • • Nov 27 '22

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

Post image
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 • • 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 • • 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 • • Jul 12 '20

Looking for someone to write a brief introduction to the ECS design pattern for the subreddit wiki

5 Upvotes

Anyone with at least 3 subreddit karma can edit:

https://www.reddit.com/r/EntityComponentSystem/wiki/index


r/EntityComponentSystem • • Apr 29 '21

A new podcast for software engineers and first episode about ECS with Sebastiano Mandalà, author of Svelto.ECS

Thumbnail
sonny.alvesdi.as
5 Upvotes

r/EntityComponentSystem • • Feb 21 '24

Functional ECS Attempt in TypeScript

5 Upvotes

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: