How to quickly test your Phaser 3 game on Mobile Devices, straight from the development server.
Tommy Leung from Ourcade writes: "One of the benefits of HTML5 game development is the speed at which you can make changes and test them. But making mobile builds to test is a slow affair. Luckily, that can be fixed! In this article, we show you how to access your development server from a mobile device.
If you are making a mobile game with Phaser then you'll have to develop on a desktop computer: Mac or Windows.
You'll also have to use a development server to see your work-in-progress at an address like http://localhost:8080.
But you can only access localhost from the computer running the server.
Having to build and install your game every time before testing on a mobile device is a huge pain in the neck.
The good news is that you should be able to reach your local development server from a mobile device already!
In this article, we will show you how to do that on Mac and Windows as well as provide some troubleshooting suggestions."
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices