Scaling game while keeping original height or width, depending on display ratio

@samme Thank, using game.scale.setGameSize did the trick :+1:

Just want to mention that I still had a small border around the game area. To get rid of that border you can add the CSS as mentioned in this thread in your index.html.

<style>
    body {
      overflow: hidden;
      padding: 0px;
      margin: 0px;
    }
</style>