Play online: https://raw.githack.com/gonnavis/annihilate/main/index.html
An action game prototype made in 2018.
Now open-sourced and:
-
switching from state-machine.js to XState.
state diagram of role: https://stately.ai/viz/f8c7eb66-db73-4bc4-b3ca-7e1ef2276923
state diagram of enemy: https://stately.ai/viz/92f4cb2a-6e1a-4607-9a6c-5006490edd62
-
try to switch from cannon.js to ammo.js.
-
try to use ecsy.js at branch: ecsy.