NatWeiss / EntityFu

A lightweight entity component system (ECS) written in C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EntityFu

A simple, fast entity component system written in C++. Originally built for the game Songbringer and adapted for release.

Only two files need to be included in your game project: EntityFu.h and EntityFu.cpp.

See main.cpp for example code.

Basically:

  • An entity is simply just an integer ID.
  • Components are pure data representing aspects of an entity.
  • Systems are where the code goes to operate on components.

Here's an intro to entity component systems.

Ports

@bwoogie ported Entity Fu to C#

License

EntityFu is licensed under the MIT license.

About

A lightweight entity component system (ECS) written in C++.

License:MIT License


Languages

Language:C++ 100.0%