Difference between revisions of "tiny-ecs"

(Created page with "== 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 Sys...")
 
m
Line 9: Line 9:
 
Entities do not use metatables. This means you can subclass your Systems and Entities, 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.
 
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
 
* Source: https://github.com/bakpakin/tiny-ecs

Revision as of 13:57, 7 May 2015

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