Today, I worked on my audio and environmental parts of my game. I added royalty-free music to my main menu and Rabga fight. I also added a sound effect to shadow attacks by attaching an audio source to the shadow prefab. As well as that, I created some pixel art of destroyed buildings, which I added to the environment background of the game. This added detail to the game and made the arena look larger. Finally, I made it so when the player presses the esc button, the game returns to the main menu.
0 Comments
I spent today bug fixing the options and main menu. The options menu now has a working volume slider, resolution dropdown and fullscreen toggle. As well as that, the menu now resizes when you change the resolution. However, the game does not resize.
I completed an awful lot of work on this day. I made a new running animation which I was far more happy with. I also fixed the idle return animation glitch by making the animation contraint a boolean rather than a trigger. This meant that the animation would only return to idle when the button had stopped being pressed as opposed to automatically every second. I also got a main menu working with an exit button, play button and settings buttons. I added some sprites such as a moon to the top right of the arena and a ground texture at the bottom to make the environment more interesting. I forced the player to stay in the arena by adding invisible walls with colliders on. However, this caused a glitch where the shadow attack would hit the wall and be forced to stop moving and hit the ground, the oppisite of what should happen. I also added a cooldown on jumping, stopping the player from being able to leave the arena vertically. Likewise, I increased the cooldown on shadow attacks.
On this day, I started basic animation for Kaiku. Running, idle, attacking and jumping all play upon certain buttons being pressed. There is a large glitch where running returns to idle every second, as well as the jumping animation resetting to idle when the last frame should still be playing. I also completed some more piskel animations, but I was unhappy with my running animation. I also fixed the problem where Kaiku would turn after firing by forcing a Z constaint.
|
AuthorMy name is William Hughes, and I study Games Development. I also am learning Web Development and general programming. Archives
May 2018
Categories |