General Issues: Game Display Sizing
One of the most recurrent issue found in HTML5 for mobile is the handling of the canvas size and the re-sizing of the game.
In this article we provide some of the main guidelines that Softgames likes to have in their titles:
- Make sure your game handles rotation properly. If the game is planned for landscape, it must show a rotate screen image on portrait, and viceversa. Game must NOT expand on rotation.
- Make sure that after any and all rotations the game re-sizes to the proper size of the display of the device where it is being played. Screen re-sizing must adapt to smartphones and tablets the same way.
- Always make sure your game is well re-sized after loading and that it properly adapted its size to the screen of the device showing it.