emitter

The emitter library is used to create particle emitters using data from the XCode particle system tool.

Summary
emitterThe emitter library is used to create particle emitters using data from the XCode particle system tool.
Functions
emitter.newEmitterLoads a sprite sheet from a data file and creates a texture from the associated image file.

Functions

emitter.newEmitter

Loads a sprite sheet from a data file and creates a texture from the associated image file.

Parameters

fileThe name of the file to load.
xThe x-coordinate of the emitter (optional)
yThe y-coordinate of the emitter (optional)

Returns

The created emitter.

Close