Particle effects


Are there any plans in the near future to add particle effect objects to the CoSpaces library?

It’s a good question, Tom, and one I’m sure the CoSpaces team can answer. In the meantime, you can always create particle effects with an object factory method which creates, animates, and destroys each object after a certain time.

Geoff @ TechLeap

Thanks for the reply. Can you elaborate on the method you suggested? Where can I find that? What is an object factory method?

It’s a design pattern in coding, but you can view and remix an example at - you create a function which takes an object as a parameter, then in the function you give your object all the magic powers you want it to have, and then call that function, setting a cloned object as a parameter.