Cozer is a 2D game engine built around two ideas: an entity-component-system core, and Lua as the scripting layer on top of it. Engine code stays structural; game code stays small and scriptable.
Tech
- ECS (entity-component-system) architecture
- Lua for gameplay scripting
What I learned
- Structuring an engine around ECS: composition over inheritance, systems over God objects.
- Embedding Lua: bindings, lifetimes, and where the engine ends and the script begins.