~sjm/toy-ecs

A playground of an ECS, created to allow some experimentation.
b91d40e7 — Sam Marshall 7 months ago
fix it fix it fix it
dc10fcd6 — Sam Marshall 7 months ago
add new update loop
077c5f3a — Sam Marshall 7 months ago
add mechanism for controlling the ECS from outside

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~sjm/toy-ecs
read/write
git@git.sr.ht:~sjm/toy-ecs

You can also use your local clone with git send-email.

#A toy pure-functional ECS using fp-ts

#TODO

  • [x] runSystems actually collects the modified env
  • [x] systems only run an update when necessary - i.e. when their queried input has changed
  • [ ] accept some input - moving the little circle around to demonstrate that action
  • [ ] the EntityGroup passed into update should have the non-matched components removed