Boss Fight: Stage 1 — The Shield

Intro

When creating the Boss Battle, I wanted to break it down into 3 parts: The Shield, Firing & Movement. The purpose of the shield is to protect the Boss from receiving any damage until the Player has destroyed all of the Shield Generators moving around it.

The Shield Generators Code Breakdown

All of the Shield Generators are children of the Boss Ship. This comes in handy when I create the Boss movement, because child objects move with the parent object. But, we are only concerned for the rotating around the boss ship. This requires getting the Boss’s position so we will have to get a handle on the Boss by declaring a GameObject and…

The Boss Ship Code BreakDown