Awesome
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.