Potato Pirates of The Prohibition – Firework Ability
|
Hello dear readers, this week I have been working on getting most things ready for the alpha, meaking sure everything works together and finialize some of the feautures to the alpha. But instead of going true each and all components for themselves that I have worked on this week, I will instead focus on the firework ability that I finished as it went down some time and planing to make it work like it ended up working. Firework AbilityThe way the firework ability works is that the player shoots it by pressing key 1, it can then be activated again to make the firework explode, if however the firework hits an enemy unit or gets to the end of the screen it will self-explode.
When the firework explodes it will deal 3 damages to each units around its area including the player (enough damage to kill almost all enemy units), so you have to be careful when using it, or else you might kill yourself. It will also destroy any bullets that are in its explosion area, meaning you can use it remove projectiles that would otherwise hit/kill you. The explosion area is marked with a gray circle to make it easier to time and use it.
When first implementing the firework ability it would just go in a straight line, however it didn’t feel like you shoot a “real” firework, as they often would move in different patterns. In the GIF below you can see an example of how the firework goes in a path;
The path it fly is random, so it becomes a bit unpredictable what part of the screen it will fly towards, this of course would make it so many times it becomes harder to use then it would if it uses the same pattern always or just simple went in a straight line, but it the end it adds a bit more complexity to the ability and make it more fun to use. However, just having the firework flying in different straight lines wouldn’t make it look that great, but when implementing the animation Ricardo Aranda made it look quite nice and feels it has its “own life”. In the beginning the firework wasn’t planned to have a gray circle around it to mark its “explosion” area, however because it deals damage to the player and also can take some time to learn its explosion area, we ended up adding the gray circle. This helped it a lot to control it, as it already had its random path walk it worked like a nice balance.
This is all for the firework ability, some changes will probably be made to it later but for now its quite nice. Anyway, thanks for reading and besure to leave a comment! |

