Skip to main content

ProjectilesMode

Enumeration Members

ONE_PROJECTILE

ONE_PROJECTILE = 0

Defined in

ProjectilesMode.ts:2


TWO_PROJECTILES

TWO_PROJECTILES = 1

Uses params.Spread.

Defined in

ProjectilesMode.ts:5


THREE_PROJECTILES

THREE_PROJECTILES = 2

Uses params.Spread.

Defined in

ProjectilesMode.ts:8


THREE_PROJECTILES_SPREAD

THREE_PROJECTILES_SPREAD = 3

Uses params.Spread.

Defined in

ProjectilesMode.ts:11


FOUR_PROJECTILES

FOUR_PROJECTILES = 4

Uses params.Spread.

Defined in

ProjectilesMode.ts:14


FIVE_PROJECTILES

FIVE_PROJECTILES = 5

Uses params.Spread.

Defined in

ProjectilesMode.ts:17


FOUR_PROJECTILES_PLUS_PATTERN

FOUR_PROJECTILES_PLUS_PATTERN = 6

Uses velocity.X as speed.

Defined in

ProjectilesMode.ts:20


FOUR_PROJECTILES_X_PATTERN

FOUR_PROJECTILES_X_PATTERN = 7

Uses velocity.X as speed.

Defined in

ProjectilesMode.ts:23


EIGHT_PROJECTILES_STAR_PATTERN

EIGHT_PROJECTILES_STAR_PATTERN = 8

Uses velocity.X as speed.

Defined in

ProjectilesMode.ts:26


N_PROJECTILES_IN_CIRCLE

N_PROJECTILES_IN_CIRCLE = 9

  • Uses velocity.X as speed.
  • Uses velocity.Y as N.
  • To fire in an arc, use params.FireDirectionLimit and params.DotProductLimit.

Defined in

ProjectilesMode.ts:33