# tiny-ecs

## Entity Component System for lua.

Tiny-ecs is an Entity Component System for lua that's simple, flexible, and useful. Because of lua's tabular nature, Entity Component Systems are a natural choice for simulating large and complex systems. In game programming, ECS is a great way to simplify the game loop. For more explanation on Entity Component Systems, here is some basic info. http://en.wikipedia.org/wiki/Entity_component_system

Tiny-ecs also works well with objected oriented programming in lua because Systems and Entities do not use metatables. This means you can subclass your Systems and Entities, and use existing lua class frameworks with tiny-ecs, no problem.

Copy/Paste Latest Source: https://raw.githubusercontent.com/bakpakin/tiny-ecs/master/tiny.lua

- Source: https://github.com/bakpakin/tiny-ecs
- Demo Source: https://github.com/bakpakin/tiny-ecs/tree/demo-commandokibbles
- API: https://bakpakin.github.io/tiny-ecs/doc/
- Forum Thread: https://love2d.org/forums/viewtopic.php?f=5&t=79937

Category:

- Libraries