Objective: In order to have our score be more competitive let’s create a way for the player to lose score.
On the enemy script reduce score on player by your desired amount for me I am going to utilize random.range so that it doesn’t always hurt the player as much…
Objective: Setup the boss to play music at different stages
As with previous audio articles I’ve setup a youtube video to show it enjoy!
Step 1: Disable current background music. For this I’ve created a tag for the background music object and wrote a script for destroying it.
Step 2: Find the tag on the boss at the start