phaser - v4.0.0-rc.4
    Preparing search index...

    Function PlaceOnEllipse

    • Takes an array of Game Objects and positions them on evenly spaced points around the perimeter of an Ellipse.

      If you wish to pass a Phaser.GameObjects.Ellipse Shape to this function, you should pass its geom property.

      Type Parameters

      Parameters

      • items: G

        An array of Game Objects. The contents of this array are updated by this Action.

      • ellipse: Geom.Ellipse

        The Ellipse to position the Game Objects on.

      • OptionalstartAngle: number

        Optional angle to start position from, in radians. Default 0.

      • OptionalendAngle: number

        Optional angle to stop position at, in radians. Default 6.28.

      Returns G