B2.ParticleSystem:createParticleGroup: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
b2.ParticleSystem:createParticleGroup(particleGoupDef) | b2.ParticleSystem:createParticleGroup(particleGoupDef) | ||
</source> | </source> | ||
'''particleGoupDef''': (table) table with particle group data | === Parameters === | ||
'''particleGoupDef''': (table) table with particle group data <br/> | |||
Revision as of 09:44, 23 August 2018
Available since: Gideros 2011.6
Description
Create group of multiple particles with same properties, that can be defined in table with: "flags" "groupFlags" "position" "angle" "linearVelocity" "angularVelocity" "color" "alpha" "strength" "shape" "lifetime"
b2.ParticleSystem:createParticleGroup(particleGoupDef)
Parameters
particleGoupDef: (table) table with particle group data