CoC Development Diary #2
|
Hi there. Welcome to another development diary of the game Crown of Creation. Our main focus for this week was implementing and polishing all the assets we currently have and show the game on alpha presentation and play testing. The alpha presentation went pretty well I would say. Personally my job for the week is making the powerpoint for the presentation and implementing sound to our game, and try to fix the boss behavior if possible. So implementing the sounds was not as simple as I was expecting. After watching a couple of tutorials I realized I would have to code the sounds into scripts instead of just dragging them onto whatever object I have in Unity. Because I am currently not very familiar with C Sharp that we are using, basically what I did was just declaring Audiosource and Audioclip in each object I want to add sound to, then add a line of code to play the sound in the function/method where the sound should be played, and it plays the sound as soon as the function is called. I didn’t struggle much except for the sound of something got destroyed. Because the object is destroyed, the audio source is disabled. My solution for this was placing a new sound source next the object instead making the object itself the audio source. And it worked. In case you wonder where I found all my sound clips, I found them all on Youtube audio library, and most stuff you find in there will be copyright free. So for the powerpoint, I just wanted to make it rather simple but also informative. I don’t feel like there is much to talk about. I had a really hard time working on the boss behavior. So our idea for the boss is that he charges the player every few seconds and get stuck if it hits the wall. Also there are eggs in the boss arena so if the boss hits the eggs, they break and spawn enemies. Currently the boss charges correctly but it doesn’t know if it is out of the arena of not so he could be charging indefinitely. Also when it is stuck, the Rigidbody still interact with player projectiles and the entire thing just spins when hit. We are looking into that and hopefully fix it next week. |
