QtEntity, a component entity system for Qt. With widgets for displaying and editing components and their properties.
-
wrote on 16 Jan 2014, 17:49 last edited by
https://github.com/martinscheffler/qtentity
QtEntity is an implementation of a component entity system. Features:
- Components can be efficiently stored in linear memory.
- Component properties can be shown in a Qt property browser.
- Editor is configurable to show specific editors, for example a color picker for editing a color property.
- Properties can be lists of things.
- Not tied to a specific render engine or game engine.
- Examples for binding to OSG and QtQuick
- JavaScript bindings through Qt
-
wrote on 17 Jan 2014, 06:03 last edited by
Pretty interesting! I will have a look into this.
I've done one entity system myself using C++11 features (like variadic templates) and QObject as base classes to enable signaling. It's really not optimized. Maybe I upload it in this forums too :P
1/2