Difference between revisions of "B2.ParticleSystem:createParticleGroup"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | Create group of multiple particles with same properties, that can be defined in table with: | + | <translate>Create group of multiple particles with same properties, that can be defined in table with: |
"flags" | "flags" | ||
"groupFlags" | "groupFlags" | ||
Line 13: | Line 13: | ||
"strength" | "strength" | ||
"shape" | "shape" | ||
− | "lifetime" | + | "lifetime"</translate> |
<source lang="lua"> | <source lang="lua"> | ||
b2.ParticleSystem:createParticleGroup(particleGoupDef) | b2.ParticleSystem:createParticleGroup(particleGoupDef) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''particleGoupDef''': (table) table with particle group data <br/> | + | '''particleGoupDef''': (table) <translate>table with particle group data</translate> <br/> |
Revision as of 13:38, 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