Difference between revisions of "B2.ParticleSystem:createParticle"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
*''alpha''
 
*''alpha''
 
and returns the particle id.
 
and returns the particle id.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.ParticleSystem:createParticle(particleDef)
 
(number) = b2.ParticleSystem:createParticle(particleDef)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 18:07, 12 July 2023