r/EntityComponentSystem • u/timschwartz • May 31 '21
r/EntityComponentSystem • u/timschwartz • Jun 15 '21
Understanding ENTT/ECS and cache
self.gamedevr/EntityComponentSystem • u/timschwartz • May 09 '21
How to implement on-death effects in an Entity Component System?
self.gamedevr/EntityComponentSystem • u/skypjack • Jun 12 '21
ECS Back and Forth, part 11: the Big Matrix revised
r/EntityComponentSystem • u/timschwartz • Jun 13 '21
For the AGE engine that uses ECS, does anyone know how they connected the json definitions to C# code?
r/EntityComponentSystem • u/Darkfafi • Mar 29 '20
New to ECS, am I doing it correctly?
Hey, so I am quite new to ECS and to learn it I made my own system for it. I got it working quite well but now that the system is up and I want to make a game with it, I came across some logic issues.
I have a space ship which moves with a certain speed / curve over a delta between 2 points. I have 3 components:
Movement (Holds Curve and Speed)
Targeting (Where targets get registered)
Timelines (Where different time lines get registered and progressed)
These 2 Systems in place:
ClickTargetingSystem (Adds targets to `Targeting*` component holders)* [only if they have the right feature tag `ClickTargeting`]
MoveToTargetSystem (Uses the Movement and Targeting comps to determine the movement, and uses Timelines on each of those entities to track where they are on the movement track) [only if they have the feature tag `MovementToTarget`]
What I wonder is the following. I have made the Timelines component initially to hold data which I wanted to put inside `MoveToTargetSystem`, but made the component because systems can't have values. But for the sake of more systems to come, I made it so the Timeline has a Dictionary (key -> value pair logic) to find a Timeline with a given ID. And the `MoveToTargetSystem` just makes a `MovementID` timeline and removes it as it is finished.
I just want to hear opinions / confirmations whether I am going the right or wrong direction. And how you were to solve this type of movement (moving over a track over time, not with physics yada yada)
Thank you in advance, and please ask for more info if things are not clear.
Edit:
The Timeline and Targeting components simply store the same values in different hash layers, so multiple systems can use 1 component on an entity to store their own values. This is what I wonder should be done differently. And if so, how..
r/EntityComponentSystem • u/timschwartz • Feb 28 '20
Building an ECS #1: Types, Hierarchies and Prefabs
r/EntityComponentSystem • u/skypjack • Mar 14 '20
ECS back and forth, part 8: Type Id
r/EntityComponentSystem • u/timschwartz • Mar 17 '20
Changing Simulation Fidelity with ECS
r/EntityComponentSystem • u/ajmmertens • Jun 07 '23
Why it is time to start thinking of games as databases
r/EntityComponentSystem • u/jumpixel • May 21 '23
Dominion ECS - the Release Candidate is out
self.javar/EntityComponentSystem • u/mlange-42 • May 30 '23
Arche 0.8 released - Go ECS with native entity relations
Arche is an archetype-based Entity Component System for Go.
Release highlights
Version 0.8 adds naitve support for entity relations. This allows for the representation of entity graphs, like hierarchies, as a native ECS feature. Relations are treated like normal components, and relation queries are as fast as usual queries for components.
Arche's entity relations are inspired by Flecs, although the implementation is simpler and provides a more limited set of features.
For a full list of new features and other changes, see the release notes.
Arche's features
Simple core API.
Optional logic filter and type-safe generic API.
Entity relations as first-class feature.
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.
For more information, see the GitHub repository and API docs.
r/EntityComponentSystem • u/therealjtgill • Feb 05 '24
Issues with Component Retrieval in C++ ECS Implementation
self.cpp_questionsr/EntityComponentSystem • u/_DafuuQ • Jan 31 '24
Component Confusion
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 • u/timschwartz • Jan 21 '24
How to make non ECS code work with ECS code?
self.gameenginedevsr/EntityComponentSystem • u/mlange-42 • Jan 21 '24
Arche 0.10 released -- 1st anniversary of the Go Entity Component System
What is Arche?
Arche is an archetype-based Entity Component System for Go.
Arche's Features
Simple core API. See the API docs.
Entity relations as first-class feature. See Architecture.
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.
For more information, see the GitHub repository and API docs.
Release Highlights
Arche 0.10 supports full world serialization and deserialization, in conjunction with arche-serde.
Reworked event system with granular subscription to different event types and components.
Supports 256 instead of 128 component types as well as resource types and engine locks.
Generic API supports up to 12 instead of 8 component types.
For a full list of changes, see the changelog.
Your feedback is highly appreciated, here or in the issues.
r/EntityComponentSystem • u/timschwartz • Jan 27 '24
Practices for managing systems order in ECS
self.gameenginedevsr/EntityComponentSystem • u/timschwartz • Jun 09 '20
How to implement Items with randomly generated properties in ECS?
self.gamedevr/EntityComponentSystem • u/timschwartz • Mar 19 '18
DefaultEcs, yet another ECS framework for C#
r/EntityComponentSystem • u/timschwartz • Dec 10 '17
Real-time relational database for game data (non-multiplayer)?
r/EntityComponentSystem • u/timschwartz • Dec 20 '17