realtime-multiplayer-space-invaders
realtime-multiplayer-space-invaders copied to clipboard
Add controls for mobile browsers
Currently, the game checks for left and right arrow click to compute player input. It would be great to extend this game to mobile browsers by adding controls for that.
Here's a good resource to get started on this: https://developer.mozilla.org/en-US/docs/Games/Techniques/Control_mechanisms/Mobile_touch#Touch_events_in_Phaser