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