New gem pickup effect. Really getting my money's worth out of these stretched billboard particle effects in Unity.. Look like little fireworks going off! :D
Video is processing on YouTube, will post when baked..
The effect is done in one burst of 100 particles. There's no collision on this effect, so it's pretty cheap. The particles are spawned with a random colour between white and a low grey, which is then combined with the texture and blended on additively with alpha.
I had problems teleporting a single particle effect. So I created a parent GameObject with two identical particle effects as children. On Awake it finds all child particle effects, then all pickup effect requests are channeled through a call to a static instance of the 'GemPickup' object. Each call it swaps between the child effects, clearing them and moving them to the new position. Before I did this I had random particles appearing between the previous and current positions.. Not cool!