Posted October 21, 2020 by FilhaDeHades
#unity #devlog #sound management #code #aliens #progress
And somethings were done. I was working on making the code more scalable. This way I’ll be able to implement things more easily in the future.
I’m also making a video devlog on youtube and this videos are going to be in portuguese! If you want to see the first one you can click here.
I finally implement the sliders for sounds control, one for ambient music and one for SFX sounds. I did not make any sprites for the sliders (I was tired and insert an excuse here), but probably will do it later.
I was facing a problem to make the ambient music play between the scenes, but it was just the DontDestroyOnLoad() that I was missing.
I also added some particles to the menus. And changed the Credits layout.
The enemies scripts are the ones that I’m having more work to do. Long story short… It was a shit code.
So… I had a nasty bug with the bullet velocity that was basically me not knowing how to use unity’s prefabs. After dealing with it i started to work on the rotation script and settings.
The base configuration was easy to do, but implement the changes that occur through the level was hard.
I started making an game object to be the center of the rotation and a script for it. Then I implement the rotation settings on the player enemies iterations script (It was a bad idea). It was very confusing code and I started over, now it much more simple to understand the code and re implement if I need in the future.