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]] {{<translate>Create new particles group</translate>}}<br/>
+
[[Particles.new]] ''<translate>Create new particles group</translate>''<br/>
[[Particles:addParticles]] {{<translate>Add particles</translate>}}<br/>
+
[[Particles:addParticles]] ''<translate>Add particles</translate>''<br/>
[[Particles:clearTexture]] {{<translate>Clear texture for all particles</translate>}}<br/>
+
[[Particles:clearTexture]] ''<translate>Clear texture for all particles</translate>''<br/>
[[Particles:getParticleAngle]] {{<translate>get particle angle</translate>}}<br/>
+
[[Particles:getParticleAngle]] ''<translate>get particle angle</translate>''<br/>
[[Particles:getParticleColor]] {{<translate>Get color and alpha value of particle</translate>}}<br/>
+
[[Particles:getParticleColor]] ''<translate>Get color and alpha value of particle</translate>''<br/>
[[Particles:getParticleDecay]] {{<translate></translate>}}<br/>
+
[[Particles:getParticleDecay]] ''<translate></translate>''<br/>
[[Particles:getParticlePosition]] {{<translate>get position of particle</translate>}}<br/>
+
[[Particles:getParticlePosition]] ''<translate>get position of particle</translate>''<br/>
[[Particles:getParticleSize]] {{<translate>get size of particle in pixels</translate>}}<br/>
+
[[Particles:getParticleSize]] ''<translate>get size of particle in pixels</translate>''<br/>
[[Particles:getParticleSpeed]] {{<translate>Get speed of particle</translate>}}<br/>
+
[[Particles:getParticleSpeed]] ''<translate>Get speed of particle</translate>''<br/>
[[Particles:getParticleTag]] {{<translate></translate>}}<br/>
+
[[Particles:getParticleTag]] ''<translate></translate>''<br/>
[[Particles:getParticleTtl]] {{<translate>get initial time to live of particle</translate>}}<br/>
+
[[Particles:getParticleTtl]] ''<translate>get initial time to live of particle</translate>''<br/>
[[Particles:getParticles]] {{<translate></translate>}}<br/>
+
[[Particles:getParticles]] ''<translate></translate>''<br/>
[[Particles:isPaused]] {{<translate></translate>}}<br/>
+
[[Particles:isPaused]] ''<translate></translate>''<br/>
[[Particles:removeParticles]] {{<translate>Remove particles by index in table or as arguments</translate>}}<br/>
+
[[Particles:removeParticles]] ''<translate>Remove particles by index in table or as arguments</translate>''<br/>
[[Particles:setParticleAngle]] {{<translate>set angle of particle</translate>}}<br/>
+
[[Particles:setParticleAngle]] ''<translate>set angle of particle</translate>''<br/>
[[Particles:setParticleColor]] {{<translate>set color of particles</translate>}}<br/>
+
[[Particles:setParticleColor]] ''<translate>set color of particles</translate>''<br/>
[[Particles:setParticleDecay]] {{<translate></translate>}}<br/>
+
[[Particles:setParticleDecay]] ''<translate></translate>''<br/>
[[Particles:setParticlePosition]] {{<translate>set position of particle</translate>}}<br/>
+
[[Particles:setParticlePosition]] ''<translate>set position of particle</translate>''<br/>
[[Particles:setParticleSize]] {{<translate>set size of particle</translate>}}<br/>
+
[[Particles:setParticleSize]] ''<translate>set size of particle</translate>''<br/>
[[Particles:setParticleSpeed]] {{<translate>Set speed of particles</translate>}}<br/>
+
[[Particles:setParticleSpeed]] ''<translate>Set speed of particles</translate>''<br/>
[[Particles:setParticleTag]] {{<translate></translate>}}<br/>
+
[[Particles:setParticleTag]] ''<translate></translate>''<br/>
[[Particles:setParticleTtl]] {{<translate>set time to live</translate>}}<br/>
+
[[Particles:setParticleTtl]] ''<translate>set time to live</translate>''<br/>
[[Particles:setParticlesTag]] {{<translate></translate>}}<br/>
+
[[Particles:setParticlesTag]] ''<translate></translate>''<br/>
[[Particles:setPaused]] {{<translate></translate>}}<br/>
+
[[Particles:setPaused]] ''<translate></translate>''<br/>
[[Particles:setTexture]] {{<translate>Set texture to all particles</translate>}}<br/>
+
[[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

Methods

Particles.new Create new particles group
Particles:addParticles Add particles
Particles:clearTexture Clear texture for all particles
Particles:getParticleAngle get particle angle
Particles:getParticleColor Get color and alpha value of particle
Particles:getParticleDecay '
Particles:getParticlePosition get position of particle
Particles:getParticleSize get size of particle in pixels
Particles:getParticleSpeed Get speed of particle
Particles:getParticleTag '
Particles:getParticleTtl get initial time to live of particle
Particles:getParticles '
Particles:isPaused '
Particles:removeParticles Remove particles by index in table or as arguments
Particles:setParticleAngle set angle of particle
Particles:setParticleColor set color of particles
Particles:setParticleDecay '
Particles:setParticlePosition set position of particle
Particles:setParticleSize set size of particle
Particles:setParticleSpeed Set speed of particles
Particles:setParticleTag '
Particles:setParticleTtl set time to live
Particles:setParticlesTag '
Particles:setPaused '
Particles:setTexture Set texture to all particles

Events

Constants