Hi all my phaser game has one functionality where user can change the backgroud image of phaser game.
this.config = {
type: Phaser.AUTO,
scene: new NewScene(this),
backgroundColor: "#FFFFFF",
scale: {
mode: Phaser.Scale.FIT,
parent: "gameContainer",
height: 1300,
width: 2500
},
physics: {
default: "arcade",
arcade: {
gravity: { y: 0 }
}
}
};