realtime-multiplayer-space-invaders icon indicating copy to clipboard operation
realtime-multiplayer-space-invaders copied to clipboard

Add controls for mobile browsers

Open Srushtika opened this issue 5 years ago • 0 comments

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

Srushtika avatar Oct 08 '20 16:10 Srushtika