pathfinder/demo/client
Manish Goregaokar 9a0fa96d4f
demo/client: Make WASD composable
Currently movement works in the direction of the latest key pressed.
Moving diagonally is not possible, and if you are pressing two keys
and release one, movement stops instead of switching over.

This keeps track of the key press state and updates the movement delta
accordingly, leading to much more natural/pleasant WASD navigation.

Note than onKeyDown is called multiple times when you press and hold,
so we must keep track of this state ourselves.
2017-09-19 16:34:41 -07:00
..
css Add a CSS spinner to the HTML templates. 2017-09-16 10:41:25 -07:00
html Add a CSS spinner to the HTML templates. 2017-09-16 10:41:25 -07:00
src demo/client: Make WASD composable 2017-09-19 16:34:41 -07:00
package.json Upgrade dependencies 2017-09-11 11:21:19 -07:00
tsconfig.json Allow multiple glyphs to be rendered simultaneously 2017-08-19 16:34:02 -07:00
webpack.config.js Stub a benchmarking tool, not working yet 2017-09-11 11:22:19 -07:00