Difference between revisions of "B2.ParticleSystem:createParticle"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
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>
 
</source>

Revision as of 16:35, 12 July 2023