Bombs Away!


Bombs Away Mateys!

WE now have drop able bombs as a powerup! I'm really proud of the explosion animation that plays. And surprisingly the easiest powerup to implement so far. Mainly due to me reusing code from the others and changing the needed parameters for it to function. 

The hardest part was creating another script just for the bomb explosion. You see, I needed to use the animation event to call the frame when the bomb is able to damage enemies. So I created a script that held this function and is called when a certain frame is hit. 

I also stumbled upon a really cool idea all thanks to the boxcollider. Usually I leave these on to Trigger but forgot with the new bomb prefab. And when I was testing I threw around the bomb like a puck. And I loved it! It's a really cool idea to aim your bomb by running into it. So now I have to figure out a way that the bomb doesn't spawn and push the player ship back but still able to push the bomb around.

I could disable the collision on the first few frames it's alive so the player doesn't interact right away. I have done this before for another project and it worked well. So I am going to tinker with that.

Also, you may have noticed a plus and minus sign on the GUI. Those are there so when you gain or drop points there is a visual cue on which way your points are going. That took a little bit of work. Linking animations and the GUI + GameMaster scripts as well as the enemy scripts together. It's one big choreograph movement that turned out well.

OH! The pawns are now colored! I wanted a visual colorful screen not just a bunch of orange since the pawns are the most common enemy. So for now I manually replace the sprites. But I am toying with a random color function that will change the sprite randomly for each pawn at the start of the level. That way it always is unique and colorful.

That is the day's update. Lots of work last two days, but progress is being made!

Get Quaxum

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.