Game

Class: Phaser.Game

Constructor

new Game(width, height, renderer, parent, state, transparent, antialias, physicsConfig)

This is where the magic happens. The Game object is the heart of your game,
providing quick access to common functions and handling the boot process.

"Hell, there are no rules here - we're trying to accomplish something."
Thomas A. Edison

Parameters
Name Type Argument Default Description
width 登录查看完整内容