Game Development Reference
In-Depth Information
Figure 8-29. The smoke added to the destroy sequence
Exploding Goo
A nice feature of the way Shuriken manages particle system manages the editing process is the
ability to edit nested systems while seeing the parent and children in action at the same time. A nice
splattering of green goo will give you an excuse to test that functionality.
1.
Create a new Particle System object in the Scene view.
2.
Name it Splatter .
3.
Set the Duration to 2.5 .
4.
Set the Start Speed to Random Between Two Constants, 2 and 6 .
5.
Set the Start Size to Random Between Two Constants, 0.025 and 0.2 .
Goo splatters will have to fall back to the ground, but not too quickly. So this time you will be using
the gravity Multiplier.
6.
Set the Gravity Multiplier to 0.5 .
7.
Turn on “Play on Awake” so the particles will start as soon as they are
instantiated.
8.
And set the Max Particles to 100 .
In Shuriken, the trick to making particles spray out all at once is found in the Emission rollout.
Instead of using a constant rate, you will have the splatters come in bursts .
 
Search WWH ::




Custom Search