Jump to content

Size/Scale or emitter


Biggerplay
 Share

Recommended Posts

the particles are simply Phaser Sprites. to change their scale, set it using 'p.scale.x = n; p.scale.y = m' or 'p.scale.setTo( n, m )'

 

be aware that the emitter selects a random size between 'minParticleScale' and 'maxParticleScale' when it emits the particle, so setting the scale must be done after that point.

 

if you wanted all the particles scaled the same, just set 'minParticleScale' and 'maxParticleScale' to the same value

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...