The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flecs-lua
Posts with mentions or reviews of flecs-lua.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-02.
-
ECS engine in C++ in Lua
I think this is my best bet if only the maintainer stabilises the library. The last commit says this is still WIP and has some issues https://github.com/flecs-hub/flecs-lua/commit/895d3cb670827236a2740ccd6d4d477b899590df. Shame because the library looks great. The Lua API is pretty much perfect and I'd love to use it. But the repository has had 2 commits in the last 2 years, and the 3.2.x bindings are not stable yet.
-
What are some of the most common bad practices with ECS?
Flecs, an ECS written in C99 with C++11 bindings has a Lua scripting host flecs-lua which let's you write System code in Lua.
nata
Posts with mentions or reviews of nata.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-02.
-
ECS engine in C++ in Lua
You could also consider a pure lua ECS like nata. Writing perf-critical stuff in C++ and everything else in lua with completely separate ECS might not be as terrible as it sounds if they're different domains (all rendering done from C++ but all gameplay in lua). You can probably afford to do more in lua than you expect (it's quite fast and most games are quite small).
-
Roblox dev trying to use ECS for an ability system
Try using Nata so you can learn how to use ECS before you learn how to implement them. I use it in love2d projects, but it's just Lua so it should work in Roblox.
What are some alternatives?
When comparing flecs-lua and nata you can also consider the following projects:
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
awesome-love2d - A curated list of amazingly awesome LÖVE libraries, resources and shiny things.
xLua - xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc.
flecs - A fast entity component system (ECS) for C & C++
lede - Lean's LEDE source
vis - A vi-like editor based on Plan 9's structural regular expressions
xmake - 🔥 A cross-platform build utility based on Lua