Browsed by
Category: Code

ParticleCandy Reference Guide

ParticleCandy Reference Guide

Emitter Commands These commands are related to emitters. It’s a good practice to create your emitters before level start, re-use them during the game and remove them after the level or game finished. Emitters can be used like display objects, they can be positioned, moved and rotated. You can also set an emitter’s alpha as with any other display object. All emitted particles of this emitter will inherit the emitter’s current alpha then. Particles will be emitted into the direction…

Read More Read More

ParticleCandy Quick Start Guide

ParticleCandy Quick Start Guide

Include the library Place the library’s .lua file in the directory of your project and include it with the following command (just place the name of the library within the quotes, without the “.lua” extension) :

Now create some emitters. Emitters can be created and deleted at any time, but it’s a good practice to create them right before your scene starts, re-use them during the game and delete them during scene clean-up:

You can also receive a…

Read More Read More

Pin It on Pinterest