A simple ECS I use in my AxtEngine.
I wanted to try making my own. Once I heard about the idea of an ECS while working on AxtEngine, I really wanted to know how they worked. I think this was a great way to learn.
This is an improved version that is substantially faster than my previous attempt at an ecs.
Visual Studio 2022 is recommended, as that's the IDE I used to make it in. Premake is used to generate project files.
-
Download the repository with
git clone https://github.com/dubtcs/nECS.git
-
Run
AAGenerateSolutions.bat
to create VS2022 solution and project files.- You can use this any time you make changes to the premake5.lua file or just want new solutions.
All functionality is in namespace necs
A basic example can be found here.