Game Dev in Progress… Day 38

Cristian Aspacio
2 min readDec 12, 2020

Happy Aloha Friday and its finally the weekend!!! After developing for two weeks straight, we finally have an almost finished product! We still have to do some refactoring, as well ass adding in the Final Boss, but were on the homestretch.

Today was mostly spent putting together all the assets and code we have done over the last two weeks to create a fully fledged game. I also worked on making some final adjustments to the mid boss. Some of the changes I added was the logic for the damage calculation. In order to interact with the player bullets, I needed to add a collider on the mid boss and using an OnTriggerEnter to check if it’s being hit by the player. For the damage calculation, I simply used the code from the Enemy Abstract Class and refactored it to work for my mid boss. I added it so that the player is also taking damage from the enemies attacks. Here’s a clip showcasing Mid Boss V2:

In the afternoon, we started bug fixing and putting some final touches into the game such as adding in the audio on all the prefabs we had. One bug we found that was really annoying had to do with adjusting the rotation of the Final Boss. When we instantiated the boss, it wouldn’t rotate the right way and we tried everything to fix it. We tried rotating it manually inside the C# Script using transform.rotate, this didn’t work. We tried using another method such transform.Rotate() which also didn’t work. We decided to child it to an empty game object which sorted worked and then didn’t. There was animations done on the Final Boss to create unique movements and now those are messed up as well. We kind of gave up on trying to re rotate it and decided that Dylan will just re animate the entire boss sequence.

Other then that, we are on track in finishing up next week and hopefully being able to present it on Friday. I’m going to be on standby to help any of my other team members if they need assistance. I’ll also be play testing the game over the weekend to see if there are any bugs and make notes on gameplay. Thank you for reading and have a wonderful weekend!

_

Cristian Aspacio

--

--