Difference between revisions of "B2.ParticleSystem:createParticleGroup"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Create group of multiple particles with same properties, that can be defined in table with: "flags" "g...") |
|||
Line 15: | Line 15: | ||
"lifetime" | "lifetime" | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.ParticleSystem:createParticleGroup(particleGoupDef) | |
</source> | </source> | ||
− | '''particleGoupDef | + | '''particleGoupDef''': (table) table with particle group data ''''''<br/> |
Revision as of 10:17, 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)
'particleGoupDef: (table) table with particle group data '