In Part 6 of the series support for playing in full-screen mode is included.
Emanuele Feronato writes: "There are great news for all HTML5 game developers and Phaser enthusiasts: the long awaited 3.16 version has been released and brings a complete scale manager and also a full screen feature. If you used to code with Phaser 2, probably the feature you missed the most once you moved on to Phaser 3 was the scale manager.
You had to move and resize the canvas on your own, using your JavaScript and CSS to sort the things out. For this reason I published the post How to scale your HTML5 games if your framework does not feature a scale manager – or if you do not use any framework. Finally, the scale manager is back in Phaser 3, and it also comes with a full screen feature. Look at the endless runner game I am blogging about during these days:"
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