Code examples for the talk on ECS with ECSY.
For the slides check: slides.com/pirelenito/games-web-ecsy.
To run the examples you will need Node.js and Yarn.
Then in the project folder, install its dependencies:
yarn
And start the development server with:
yarn dev
There are a couple of examples:
first-example/index.html
: shows a simple rendering loopgame-loop/index.html
: shows an interactive game loop with "physics"ecs/index.html
: shows the previous game loop example converted to ECSecs/complete.html
: shows a more elaborate example (multiplayer, more entities)ecs/three.html
: the complete example from before but in 3D
Built with: