ig.

Demo

new Demo()

Visual demo used in tutorials.
- use this to show a user what to do to complete the tutorial IMPORTANT: this is an abstract entity that should be extended.

Author:
  • Collin Hover - collinhover.com
Source:

fadeAfterSpawnDuration

Default Value:
  • 0.1
Source:

fadeBeforeDeathDuration

Default Value:
  • 0.1
Source:

performance

Default Value:
  • static
Source:

randomDoubleVel

Default Value:
  • false
Source:

randomFlip

Default Value:
  • false
Source:

randomVel

Default Value:
  • false
Source:

velocityFlip

Default Value:
  • false
Source:

zIndex

Source:
See:

spawn()

Demo resets its ig.Particle#lifeDuration to match its ig.EntityExtended#currentAnim duration.

Source: