Difference between revisions of "Particles"
From GiderosMobile
Line 5: | Line 5: | ||
<translate>Particles sprite (alpha), which allows to draw several identical dots or bitmaps with varying colour and orientation</translate> | <translate>Particles sprite (alpha), which allows to draw several identical dots or bitmaps with varying colour and orientation</translate> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Methods === | === Methods === | ||
− | [[Particles.new]] | + | [[Particles.new]] ''<translate>Create new particles group</translate>''<br/> |
− | [[Particles:addParticles]] | + | [[Particles:addParticles]] ''<translate>Add particles</translate>''<br/> |
− | [[Particles:clearTexture]] | + | [[Particles:clearTexture]] ''<translate>Clear texture for all particles</translate>''<br/> |
− | [[Particles:getParticleAngle]] | + | [[Particles:getParticleAngle]] ''<translate>get particle angle</translate>''<br/> |
− | [[Particles:getParticleColor]] | + | [[Particles:getParticleColor]] ''<translate>Get color and alpha value of particle</translate>''<br/> |
− | [[Particles:getParticleDecay]] | + | [[Particles:getParticleDecay]] ''<translate></translate>''<br/> |
− | [[Particles:getParticlePosition]] | + | [[Particles:getParticlePosition]] ''<translate>get position of particle</translate>''<br/> |
− | [[Particles:getParticleSize]] | + | [[Particles:getParticleSize]] ''<translate>get size of particle in pixels</translate>''<br/> |
− | [[Particles:getParticleSpeed]] | + | [[Particles:getParticleSpeed]] ''<translate>Get speed of particle</translate>''<br/> |
− | [[Particles:getParticleTag]] | + | [[Particles:getParticleTag]] ''<translate></translate>''<br/> |
− | [[Particles:getParticleTtl]] | + | [[Particles:getParticleTtl]] ''<translate>get initial time to live of particle</translate>''<br/> |
− | [[Particles:getParticles]] | + | [[Particles:getParticles]] ''<translate></translate>''<br/> |
− | [[Particles:isPaused]] | + | [[Particles:isPaused]] ''<translate></translate>''<br/> |
− | [[Particles:removeParticles]] | + | [[Particles:removeParticles]] ''<translate>Remove particles by index in table or as arguments</translate>''<br/> |
− | [[Particles:setParticleAngle]] | + | [[Particles:setParticleAngle]] ''<translate>set angle of particle</translate>''<br/> |
− | [[Particles:setParticleColor]] | + | [[Particles:setParticleColor]] ''<translate>set color of particles</translate>''<br/> |
− | [[Particles:setParticleDecay]] | + | [[Particles:setParticleDecay]] ''<translate></translate>''<br/> |
− | [[Particles:setParticlePosition]] | + | [[Particles:setParticlePosition]] ''<translate>set position of particle</translate>''<br/> |
− | [[Particles:setParticleSize]] | + | [[Particles:setParticleSize]] ''<translate>set size of particle</translate>''<br/> |
− | [[Particles:setParticleSpeed]] | + | [[Particles:setParticleSpeed]] ''<translate>Set speed of particles</translate>''<br/> |
− | [[Particles:setParticleTag]] | + | [[Particles:setParticleTag]] ''<translate></translate>''<br/> |
− | [[Particles:setParticleTtl]] | + | [[Particles:setParticleTtl]] ''<translate>set time to live</translate>''<br/> |
− | [[Particles:setParticlesTag]] | + | [[Particles:setParticlesTag]] ''<translate></translate>''<br/> |
− | [[Particles:setPaused]] | + | [[Particles:setPaused]] ''<translate></translate>''<br/> |
− | [[Particles:setTexture]] | + | [[Particles:setTexture]] ''<translate>Set texture to all particles</translate>''<br/> |
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:31, 23 August 2018
Supported platforms:
Available since: Gideros 2016.06
Description
Particles sprite (alpha), which allows to draw several identical dots or bitmaps with varying colour and orientation