You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The above will create 20 'diamonds' of frame 0, 20 with frame 1 and 20 with frame 2.
87
-
* It will then create 20 'balls' of frame 0, 20 with frame 1 and 20 with frame 2.
88
-
* In total it will have created 120 sprites.
89
-
*
90
-
* By default the Sprites will be positioned at 0x0.
91
-
*
92
-
* @method Phaser.Group#createMultiple
93
-
* @param {integer} quantity - The number of Sprites to create.
94
-
* @param {string|array} key - The Cache key of the image that the Sprites will use. Or an Array of keys. See the description for details on how the quantity applies when arrays are used.
95
-
* @param {integer|string|array} [frame=0] - If the Sprite image contains multiple frames you can specify which one to use here. Or an Array of frames. See the description for details on how the quantity applies when arrays are used.
96
-
* @param {boolean} [exists=false] - The default exists state of the Sprite.
97
-
* @return {array} An array containing all of the Sprites that were created.
0 commit comments