Difference between revisions of "B2.ParticleSystem"
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2015.06.30<br/> === Description === Defines particle system in box2d world using Liquid fun{|- | styl...") |
|||
Line 3: | Line 3: | ||
'''Available since:''' Gideros 2015.06.30<br/> | '''Available since:''' Gideros 2015.06.30<br/> | ||
=== Description === | === Description === | ||
− | Defines particle system in box2d world using Liquid fun{|- | + | Defines particle system in box2d world using Liquid fun |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
+ | [[b2.ParticleSystem:containsParticle]] - <br/> | ||
+ | [[b2.ParticleSystem:createParticle]] - create new particle<br/> | ||
+ | [[b2.ParticleSystem:createParticleGroup]] - create group of particles<br/> | ||
+ | [[b2.ParticleSystem:destroyParticle]] - destroy particle by id<br/> | ||
+ | [[b2.ParticleSystem:destroyParticles]] - <br/> | ||
+ | [[b2.ParticleSystem:getParticleCount]] - <br/> | ||
+ | [[b2.ParticleSystem:getParticleGroupList]] - <br/> | ||
+ | [[b2.ParticleSystem:setTexture]] - set texture to particles<br/> | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
+ | [[b2.ParticleSystem.FLAG_COLOR_MIXING]] | ||
+ | [[b2.ParticleSystem.FLAG_ELASTIC]] | ||
+ | [[b2.ParticleSystem.FLAG_POWDER]] | ||
+ | [[b2.ParticleSystem.FLAG_SPRING]] | ||
+ | [[b2.ParticleSystem.FLAG_TENSILE]] | ||
+ | [[b2.ParticleSystem.FLAG_VISCOUS]] | ||
+ | [[b2.ParticleSystem.FLAG_WALL]] | ||
+ | [[b2.ParticleSystem.FLAG_WATER]] | ||
+ | [[b2.ParticleSystem.FLAG_ZOMBIE]] | ||
|} | |} |
Revision as of 08:57, 23 August 2018
Supported platforms:
Available since: Gideros 2015.06.30
Description
Defines particle system in box2d world using Liquid fun
Methodsb2.ParticleSystem:containsParticle - |
EventsConstantsb2.ParticleSystem.FLAG_COLOR_MIXING b2.ParticleSystem.FLAG_ELASTIC b2.ParticleSystem.FLAG_POWDER b2.ParticleSystem.FLAG_SPRING b2.ParticleSystem.FLAG_TENSILE b2.ParticleSystem.FLAG_VISCOUS b2.ParticleSystem.FLAG_WALL b2.ParticleSystem.FLAG_WATER b2.ParticleSystem.FLAG_ZOMBIE |