ig.

EntityParticleDebris

new EntityParticleDebris()

Entity particle debris. IMPORTANT: this entity has a defined size and animation sheet!
- debris particle sprite sheet courtesy of Dominic Szablewski

Author:
  • Collin Hover - collinhover.com
  • Dominic Szablewski
Source:

animAutomatic

Default Value:
  • false
Source:

animInit

Default Value:
  • moveX
Source:

animSettings

Source:

animSheet

Default Value:
  • debris.png
Source:

friction

Default Value:
  • 100x100
Source:

lifeDuration

Default Value:
  • 3
Source:

size

Default Value:
  • 4x4
Source:

vel

Default Value:
  • 60x10
Source:

ready()

Called just after particle added to game world, and randomizes current animation frame.

Source: