Open nanderer opened 3 years ago
Here are some screenshots to show how i got it to work on my device, of cause you would need some bluetooth or usb keyboard for most android devices...
Ps: even github forced me to switch to desktop mode to Upload those on android ...
The keymapper app i used:
Keyboard/Button Mapper (Remaps the buttons on your device and other devices and fingerprint gestures.) - https://f-droid.org/packages/io.github.sds100.keymapper
I playd your nice game successfully under android with my blackberry keytwo phone. All i had to do was use the keymapper app and set wasd to the arrow keys and switch firefox to desktop mode to see the whole game on the display but not only the the left side of it.
But i guess some easy additons could make it much more easy playable on mobile:
First: stet some viewport meta atribute to specifie the cobtebt with in pixels so mobile browser would scale it correctly
Secound: add some alternate key bindings, wasd is not only nice to be available for Blackberry users without dpad but to pc users who prefer that. Also set z to do the same thing then x for qwertz and no qwery keyboard layouts. Additional alternate keys like i and o or k and l for z and x would be nice to so the fingers dont get crumbled to much and pc players can deside which hand they use for direction input and which hand they use for shooting and thrusting. Like some like using arrow keys with right hand and z (or y) and x with left, others would like w a s d with there left hand and give thrust and shoot with i and o.
Also maybe if possible use keycodes together with functional imput to also support not qwertz and qwerty based layouts...
And third, what sure would be more work, add some multitouch buttons if you detect a multitouch capable device below the playing field (where a lot of free space is on potraid held smartphons.
Thanks a lot in advance and keep up the good work