Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

UECS

> 设计协作
Open source

Ubpa Entity-Component-System (U ECS) in Unity3D-style

378 stars0 likes3 views
WebsiteGitHub

About

Ubpa Entity-Component-System (U ECS) in Unity3D-style


 __    __   _______   ______     _______.
|  |  |  | |   ____| /      |   /       |
|  |  |  | |  |__   |  ,----'  |   (----`
|  |  |  | |   __|  |  |        \   \    
|  `--'  | |  |____ |  `----.----)   |   
 \______/  |_______| \______|_______/    
                                         

⭐ Star us on GitHub — it helps!

UECS

Ubpa Entity-Component-System in Unity3D-style

Compiler compatibility

  • Clang/LLVM >= 10.0
  • GCC >= 10.0
  • MSVC >= 1926

Tested platforms:

  • Windows 10: VS2019 16.8.5

  • Ubuntu 20: GCC 10.2, Clang 11.0

  • MacOS 11.0 : GCC 10.2

    AppleClang 12 and Clang 11 is not supported

Documentation

  • changelog
  • TODO

Example

cpp
#include 

using namespace Ubpa::UECS;

struct Position { float val; };
struct Velocity { float val; };

struct MoverSystem {
  static void OnUpdate(Schedule& schedule) {
    schedule.RegisterEntityJob(
      [](const Velocity* v, Position* p) {
        p->val += v->val;
      },
      "Mover"
    );
  }
};

int main() {
  World w;
  w.entityMngr.cmptTraits.Register();
  w.systemMngr.RegisterAndActivate();
  w.entityMngr.Create(Ubpa::TypeIDs_of);
  w.Update();
}

other examples

  • read/write tag
  • system update order
  • job function
  • system function with Entity
  • chunk layout optimization with alignment
  • system overload
  • runtime dynamic component
  • generate frame graph in Graphviz
  • performance test
  • serialize
  • chunk job
  • singleton
  • serial execution
  • world copy
  • directly run execution
  • system lifecycle
  • random access components
  • change filter

Licensing

You can copy and paste the license summary from below.

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++architectural-patternschina-developercppcpp17

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category设计协作
PricingOpen source

> Related tools

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨