Game Development Reference
In-Depth Information
4.
Make the new particle system a Prefab, and then attach this new Prefab
to the Boss Drop FX field of the Boss object.
5.
Add the DropFXSpawnPoint node to the Drop FXSpawn Point field.
Now, when the boss falls onto a platform, he should end up looking a little bit like
the following image:
You will want to create a good particle emitter effect as well for when the boss is
defeated. Add the BossDeathFX object to the Boss Death FX field in the Inspector
panel of the Boss object. We've included a Prefab with the example project, which
is a nice, showering explosion of red metal shards. They burst everywhere and rain
down the screen for a few moments, making a very satisfying visual to defeat the boss.
Crushing defeat
We're almost done! The boss needs to be able to actually kill the player, rather than
the current action where it just makes the player jiggle around a bit. In fact, when the
boss drops on enemies, even they jiggle around a bit. Let's make it such that the boss
crushes anything that he lands on.
 
Search WWH ::




Custom Search