SHIELDS UP, CAPTAIN!
That's right! After months of promising and putting it off, I have started implementing the SHIELD! Currently, you can put it up and drop it whenever you want, and it will deactivate when you dodge, grab using A, or shield jump! Sound effects are also up and running! It will successfully follow you around, too. If you shield, then roll dodge, for example, your shield will remain at the exact same place relative to the fighter if you raise it again.
As mentioned, you can use it and let go any time, and all I need to do is to:
-Make it take the Player's colour (P1-red, etc.)
-Make it able to shrink and break.
-Flip the axis when you're turned so that you're always covered.
Now the way I implemented this is as follows: the shield is an empty GameObject with a particle system used for the graphics, and a spherecollider that will cancel out any attack collisions if it's included in an attack's hit. Since an attack can hit multiple hurtboxes and targets at once, it's fair to check if the shield collider is included, and if it is, only damage the shield.
In other news, I've made character movement a little bit slower (walking, running, roll dodge, etc.). I found that you could move around way too fast. I know that Smash is a game where some stuff IS fast-paced, but let's not exaggerate, either lol. This will not affect aerial momentum and the like.
I also slightly reorganized more code for performance, and dropped the Bloom value down, as it was too bright.
That's all for now, take care!
~TF
1 comment