pirelenito / ecsy-talk

Home Page:https://slides.com/pirelenito/ecsy-talk/fullscreen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECS code examples

screenshot

Code examples for the talk on ECS with ECSY.

For the slides check: slides.com/pirelenito/games-web-ecsy.

Running

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 loop
  • game-loop/index.html: shows an interactive game loop with "physics"
  • ecs/index.html: shows the previous game loop example converted to ECS
  • ecs/complete.html: shows a more elaborate example (multiplayer, more entities)
  • ecs/three.html: the complete example from before but in 3D

Tools

Built with:

About

https://slides.com/pirelenito/ecsy-talk/fullscreen


Languages

Language:TypeScript 88.4%Language:HTML 11.6%