Hi
Anyone know where to find a list of all possible properties for a particle.json ?
So we can work with particles without requiring particle designer
thanks
Hi
Anyone know where to find a list of all possible properties for a particle.json ?
So we can work with particles without requiring particle designer
thanks
We just added this to the documentation this week.
https://docs.coronalabs.com/api/type/EmitterObject/index.html
Rob
thanks rob. i think may be missing one - absolutePosition ? i tried that the other day (found it in a post) and it seems to allow setting the particles so they have a fixed screen pos
also seem to be missing emitterType prop - is there somewhere to open a ticket about that? or is here godo for that
Hi @mitchell3,
Thanks for pointing this out. Those two properties were indeed missing. Normally a bug report would be helpful, but I spotted this and took care of it… the doc is now updated:
https://docs.coronalabs.com/api/type/EmitterObject/index.html
Best regards,
Brent
It should also be noted that emitters can be designed completely without JSON files… that was one misleading aspect of the previous documention on this, and why I decided to list every property in detail. You can simply set these properties up as a standard Lua table, and many of the properties can be changed “on the fly” as usual.
Brent
great, thanks brent
found the link Rob provided quite helpful - especially odd to find out that the blend modes have strange values
We just added this to the documentation this week.
https://docs.coronalabs.com/api/type/EmitterObject/index.html
Rob
thanks rob. i think may be missing one - absolutePosition ? i tried that the other day (found it in a post) and it seems to allow setting the particles so they have a fixed screen pos
also seem to be missing emitterType prop - is there somewhere to open a ticket about that? or is here godo for that
Hi @mitchell3,
Thanks for pointing this out. Those two properties were indeed missing. Normally a bug report would be helpful, but I spotted this and took care of it… the doc is now updated:
https://docs.coronalabs.com/api/type/EmitterObject/index.html
Best regards,
Brent
It should also be noted that emitters can be designed completely without JSON files… that was one misleading aspect of the previous documention on this, and why I decided to list every property in detail. You can simply set these properties up as a standard Lua table, and many of the properties can be changed “on the fly” as usual.
Brent
great, thanks brent
found the link Rob provided quite helpful - especially odd to find out that the blend modes have strange values