Create

Class: Phaser.Create

Constructor

new Create(game)

The Phaser.Create class is a collection of smaller helper methods that allow you to generate game content
quickly and easily, without the need for any external files. You can create textures for sprites and in
coming releases we'll add dynamic sound effect generation support as well (like sfxr).

Access this via Game.create (this.game.create from within a State object)

Parameters
登录查看完整内容
Name Type Description
game Phaser.Game

Game reference to the currently running game.