Day 61: Boss Part 3

Objective: Give a boss a new weapon to try and kill the player.

Before we start the animation we need to get a new sprites. I used some of Kenny’s asset’s to create the warm up and the laser.

The warm up with a rotation on it.
laser that was stretched.

I added a box collider2D with is trigger selected onto the laser. This allows for the player to get damaged.

Next was setting up the animation to work in the correct order.

After completing the animation, as shown in yesterdays article, we set up a trigger to start the laser attack animation.

The only time this can be fired is if the enemy is raging. The boss will need to be in the Rage_Idle animation.

This is a quick one on how I created a new weapon for the boss. Thank you for reading and have a wonderful day!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tyler Smallwood

Tyler Smallwood

I am passonate on learning to program and use Unity to become a skillful Unity Developer