Difference between revisions of "B2.ParticleSystem:createParticleGroup"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>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"
Line 17: Line 17:
 
  b2.ParticleSystem:createParticleGroup(particleGoupDef)
 
  b2.ParticleSystem:createParticleGroup(particleGoupDef)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''particleGoupDef''': (table) <translate>table with particle group data</translate> <br/>
 
'''particleGoupDef''': (table) <translate>table with particle group data</translate> <br/>

Revision as of 08:27, 24 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