An example game thing to demonstrate the proper care and feeding of tecs. Primary dependencies include PIXI for graphics, Preact for the UI and malwoden for FOV calculations.
Takes extensive inspiration from ddmills' sleepy and Fritzy's roguelike example for ape-ecs.
git clone https://github.com/noahlange/tecs-example.git
cd tecs-example
npm i && npm start
Includes two misc. command line tools:
atlas-gen
: generates image atlases with animation data.jsonz
: compress JSON with pakojsonz (zip/unzip) "my-file.json"
- import using
jsonz.read()
- integration with https://github.com/claus/react-dat-gui
- decorators to define component field types?
- reimplement dialogue system
- confirm correct behavior of object destruction/recreation on chunk changes