B2.ParticleSystem:createParticleGroup: Difference between revisions

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..."
 
No edit summary
Line 15: Line 15:
"lifetime"
"lifetime"
<source lang="lua">
<source lang="lua">
= b2.ParticleSystem:createParticleGroup(particleGoupDef,)
b2.ParticleSystem:createParticleGroup(particleGoupDef)
</source>
</source>
'''particleGoupDef:''' (table) table with particle group data ''''''<br/>
'''particleGoupDef''': (table) table with particle group data ''''''<br/>

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