Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Nice game. I'm glad we have another Phaser user here. Add this block of code in your game config to make your game compatible to most screen sizes including mobile, and remove the width and height property in your current config.

scale             : {
  mode            : Phaser.Scale.FIT,
  autoCenter      : Phaser.Scale.CENTER_BOTH,
  width           : YourGameWidth,
  height          : YourGameHeight
},