Nice, I think you did what I figure most people do - create buttons (sprites) and listen to pointer events. If you only want to show them when it’s a mobile device (I’m able to see them on my desktop) then you can check which device you’re on in Phaser
msanatan
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Check if mobile | 4 | 6079 | April 30, 2019 | |
| How to create virtual movement button for mobile browser? | 2 | 2323 | April 5, 2020 | |
| How to make a graphic gamepad in phaser 3? | 1 | 517 | April 2, 2020 | |
| Button no response at facebook instant game server | 2 | 439 | October 5, 2019 | |
| Left, top, right and bottom movement controls in mobile? | 2 | 700 | August 9, 2019 |