Road TO Dev — Damage state third phase

Rob Smith
2 min readAug 2, 2021

--

Objective: Create an extra damage state in the third phase.

Step 1: Create a variable for the sprite renderer

Step 2: Make a coroutine to create a flickering of color from white to red test your times to see what you like

Step 4: Deactivate the new damage effect on start to make sure it isn’t on by accident

Step 5: Initialize that coroutine when the boss enters the third phase

Step 6: As with the previous damaged state this is where you can setup any other little effects you want to show when the boss is really damaged. Here is where you’d attach them to the new damaged more child

Step 7: Make the variable and attach the previously mentioned damagedmore object. Along with setting it to be inactive at the start

Step 8: Activate this new object when the third phase has begun

--

--

Rob Smith

Hi there! I am currently on the path to learn how to become a unity developer and will be documenting my journey as best as I can here. Thanks for looking!