ig.

EntityCameraFollow

new EntityCameraFollow()

Trigger that causes camera to follow each target in ig.Trigger#targetSequence.

Author:
  • Collin Hover - collinhover.com
Source:

autoComplete

Default Value:
  • false
Source:

followDelay :Number

How long to pause after finished following each target.

Default Value:
  • 1
Source:

followDelayTimer :ig.Timer

How long to pause after finished following each target.

Default Value:
  • null
Source:

<readonly> following :ig.EntityExtended

Current following target in sequence.

Default Value:
  • null
Source:

pausing :Boolean

Whether should pause game while following.

Default Value:
  • true
Source:

<readonly> targetsToFollow :Array

Targets to follow.

Source:

followNext(withoutDelay)

Follows next target.

Parameters:
Name Type Argument Default Description
withoutDelay Boolean <optional>
false whether to skip delay.
Source:

initProperties()

Source:

pause()

Source:

setup()

Source:

teardown()

Source:

unpause()

Source:

update()

Source: