pathfinder/demo
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
..
client demo/client: Make WASD composable 2017-09-19 16:34:41 -07:00
server Actually reverse indices for early Z! 2017-09-14 17:20:54 -07:00
.gitignore Introduce demo skeleton code 2017-08-08 11:23:30 -07:00