darkf / darkfo

DarkFO, a post-nuclear RPG remake (of Fallout 2)
Apache License 2.0
135 stars 12 forks source link

Add gamepad controls #109

Open darkf opened 6 years ago

darkf commented 6 years ago

Using a gamepad/controller would be a useful improvement for people preferring that playstyle, and can work similarly to WASD movement (#94).

We can use the experimental Gamepad API for this (which works at least in Chrome and Firefox at the moment.)

darkf commented 6 years ago

Also, with analog controls, we can have 6-directional movement (corresponding to the hex directions), and add up/down (similar to W/D).