OptionalactiveThe active state of each new Game Object.
OptionalclassThe class of each new Game Object.
OptionalframeThe texture frame of each new Game Object.
OptionalframeThe number of times each frame should be combined with one key.
OptionalgridAlign the new Game Objects in a grid using these settings.
OptionalhitA geometric shape that defines the hit area for the Game Object.
OptionalhitA callback to be invoked when the Game Object is interacted with.
The texture key of each new Game Object. Must be provided or not objects will be created.
OptionalmaxThe maximum number of new Game Objects to create. 0 is no maximum.
OptionalquantityThe number of Game Objects to create. If set, this overrides the frameQuantity value. Use frameQuantity for more advanced control.
OptionalrandomSelect a frame at random.
OptionalrandomSelect a key at random.
OptionalrepeatThe number of times each key × frame combination will be repeated (after the first combination).
OptionalsetOptionalsetIncrement each Game Object's alpha from the previous by this amount, starting from setAlpha.value.
OptionalsetThe alpha value of each new Game Object.
OptionalsetOptionalsetIncrement each Game Object's depth from the previous by this amount, starting from setDepth.value.
OptionalsetThe depth value of each new Game Object.
OptionalsetOptionalsetIncrement each Game Object's horizontal origin from the previous by this amount, starting from setOrigin.x.
OptionalsetIncrement each Game object's vertical origin from the previous by this amount, starting from setOrigin.y.
OptionalsetThe horizontal origin of each new Game Object.
OptionalsetThe vertical origin of each new Game Object.
OptionalsetOptionalsetIncrement each Game Object's rotation from the previous by this amount, starting at setRotation.value.
OptionalsetRotation of each new Game Object.
OptionalsetOptionalsetIncrement each Game Object's horizontal scale from the previous by this amount, starting from setScale.x.
OptionalsetIncrement each Game object's vertical scale from the previous by this amount, starting from setScale.y.
OptionalsetThe horizontal scale of each new Game Object.
OptionalsetThe vertical scale of each new Game Object.
OptionalsetOptionalsetIncrement each Game Object's horizontal scroll factor from the previous by this amount, starting from setScrollFactor.x.
OptionalsetIncrement each Game object's vertical scroll factor from the previous by this amount, starting from setScrollFactor.y.
OptionalsetThe horizontal scroll factor of each new Game Object.
OptionalsetThe vertical scroll factor of each new Game Object.
OptionalsetOptionalsetIncrement each Game Object's horizontal position from the previous by this amount, starting from setXY.x.
OptionalsetIncrement each Game Object's vertical position from the previous by this amount, starting from setXY.y.
OptionalsetThe horizontal position of each new Game Object.
OptionalsetThe vertical position of each new Game Object.
OptionalvisibleThe visible state of each new Game Object.
OptionalyoyoSelect keys and frames by moving forward then backward through key and frame.
The total number of objects created will be
If
maxis nonzero, then the total created will not exceedmax.keyis required. Phaser.GameObjects.Group#defaultKey is not used.