Troubles with flamethrowers :S
|
Hello blog people! This week I have been working on a flamethrower spell/power-up for our game. It is one of 4 power-ups the player will get to choose at a point in the game to customize the witch to their style of gameplay. The other power-ups we have planned at this point are: Fire shield, Empowered teleport and Empowered shooting. Hopefully we will also have variations for each of these that you can pick to make the game more interesting and add some replayability to it. During the first part of the game, when you are fleeing, you can pick up magical pages from a spell book. At the turning point of the game you can spend these pages on picking spells and hopefully adding some different variations/upgrades to them. So far I have implemented a particle system with a rigidbody2d to the lantern/fire point on the player object. It currently tracks the mouse position and rotates the particle system to face the mouse and lets you fire a wide stream of continuous particles with the mouse button. The plan for the flamethrower is that we want one variant that is short ranged and wide that fires in bursts. The second one will be more like a beam that you can slowly move like in the game Magicka. At this point I’m trying to figure out how to make the particles do damage to enemies and objects. I am not quite sure how the Particle System and its particles work and have been googling frantically after answers and similar solutions. This has definitely been one of the more annoying things I have been working on as I still don’t know much about Unity except for more of the basic stuff. The other power-ups will hopefully be easier to finish as we already have the basic shooting and teleporting done and I already kind of have some ideas on how to make the shield. Hopefully I will have more stuff to write about in the next blogpost as I have gotten stuck in this current artefact that need to be done.
|
