kirbysayshi / pocket-ces

Component entity system, probably for game development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pocket CES

Pocket is basically a component entity system used as a test bed for my JSConf EU 2014 talk, Developing Games Using Data not Trees.

It has three concepts:

  • Component Types (Definitions)
  • Keys (ids)
  • Systems

The asteroids example is relatively complete. For more details, see the slides from the talk:

You can run the asteroids example yourself by:

  • clone this repo
  • git checkout jsconfeu
  • npm install
  • npm run demos

And then visiting http://localhost:PORT/demos/asteroids/index.html (PORT is given in the console output).

And if you want to run the "finished" example as seen at the end of the JSConf EU 2014 talk:

  • git checkout jsconfeu-reworked

And refresh!

About

Component entity system, probably for game development.


Languages

Language:JavaScript 98.8%Language:HTML 1.2%