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. |
- Source code: core/Create.js (Line 18)
Please login to continue.