Difference between revisions of "Particles:setParticleSpeed"
From GiderosMobile
Line 14: | Line 14: | ||
'''a''': (number) <translate>angular velocity</translate> '''optional'''<br/> | '''a''': (number) <translate>angular velocity</translate> '''optional'''<br/> | ||
'''s''': (number) <translate>growth speed</translate> '''optional'''<br/> | '''s''': (number) <translate>growth speed</translate> '''optional'''<br/> | ||
+ | |||
+ | {{Particles}} |
Revision as of 22:23, 3 December 2019
Available since: Gideros 2016.06
Class: Particles
Description
Set speed of particles
Particles:setParticleSpeed(i,x,y,a,s)
Parameters
i: (number) particle index
x: (number) x vector optional
y: (number) y vector optional
a: (number) angular velocity optional
s: (number) growth speed optional
- Particles
- Particles.new
- Particles:addParticles
- Particles:clearTexture
- Particles:getDeadParticles
- Particles:getNearestParticle
- Particles:getNumParticles
- Particles:getParticleAcceleration
- Particles:getParticleAngle
- Particles:getParticleColor
- Particles:getParticleDecay
- Particles:getParticleExtra
- Particles:getParticlePosition
- Particles:getParticleSize
- Particles:getParticleSpeed
- Particles:getParticleTag
- Particles:getParticleTtl
- Particles:getParticles
- Particles:isPaused
- Particles:removeParticles
- Particles:scaleParticles
- Particles:setParticleAcceleration
- Particles:setParticleAngle
- Particles:setParticleColor
- Particles:setParticleDecay
- Particles:setParticleExtra
- Particles:setParticlePosition
- Particles:setParticleSize
- Particles:setParticleSpeed
- Particles:setParticleTag
- Particles:setParticleTtl
- Particles:setPaused
- Particles:setTexture