Notice: Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /home/wcc1969/public_html/phasergames.com/wp-includes/functions.php on line 6085
Notice: Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /home/wcc1969/public_html/phasergames.com/wp-includes/functions.php on line 6085
Warning: Undefined variable $output in /home/wcc1969/public_html/phasergames.com/wp-content/plugins/wc_snippets/snippets.php on line 110
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: