Game Config File
Description:This is a config file example to pass to the game object
Example:var config = {
type: Phaser.AUTO,
width: 480,
height: 640,
parent: 'phaser-game',
scene: [SceneMain]
};
Game Object
Description:Create the Phaser Game
Example:var game = new Phaser.Game(config);
Blank Scene
Description:Create the Phaser Game
Example:class SceneMain extends Phaser.Scene {
constructor() {
super('SceneMain');
}
preload()
{
}
create() {}
update() {}
}
Html File
Description:Basic Html Set up for Phaser
Example:
Different Configs for Mobile/Desktop
Description:Detect Mobile/Desktop and make config files accordingly
Example:
meta tag
Description:Sets the page scale
Example: