Difference between revisions of "B2.ParticleSystem:createParticleGroup"

From GiderosMobile
Line 17: Line 17:
 
  b2.ParticleSystem:createParticleGroup(particleGoupDef)
 
  b2.ParticleSystem:createParticleGroup(particleGoupDef)
 
</source>
 
</source>
'''particleGoupDef''': (table) table with particle group data ''''''<br/>
+
=== Parameters ===
 +
'''particleGoupDef''': (table) table with particle group data <br/>

Revision as of 11: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