Development log


25, April

I’ve set up the unity project and the related GitHub directory for the fighter fighter game project, but not actually started making any part of the actual game quite yet.

 

3, May

I’ve added some boxes with colliders to serve as the boundary of the level, which is at the side of the screen apart from the top border which comes down roughly two thirds of the screen and added a black box to the space within to keep track of the usable space for now.

 

10, May

One of the inbuilt scripts from unity broke and I have no idea how to fix that and couldn’t get it to work even when I closed without saving and re-opened, so I had to start over from scratch, but as I hadn’t actually done too much I was able to re-do everything and get back to where I was easily enough and set up the player main object, sprite object, health hitbox object and punch hitbox object for the player character.

 

16, May

I’ve added a script that moves the player health hitbox object below the level when the player ducks to prevent them from taking damage along with a very basic sprite to keep track of the player and I’ve copied and modified the player objects to serve as the enemy object.

 

17, May

I’ve implemented enemy movement by making the enemy move towards the player when too far away and move away when too close, there is a small range around the player that enemies will remain stationary in but my attempts to fix it just resulted in the enemies erratically jumping about so I just left the stationary range in.

 

24, May

I’ve added the script for keeping track of the players health to the player health hitbox object and I’ve started adding the script to have the enemy attack the player by have them punch at the player when in range, which will be close enough that the enemies try to walk away from the player.

 

6, June

I’ve started the implementation of the enemies ability to reduce the players health and added the actual background sprite rather than just the black box I was using and began starting to implement the enemy spawning script.

 

7, June

I fixed a bug that resulted in the player health just continuing to drop after being hit the first time to defeat, it was caused by forgetting to set the proper tag detection resulting in it detecting the player attack hitbox as the enemies resulting in damage being done whenever the player was not attacking. I’ve added the menu scene, that just contains a background, the title and instructions on what key to press to move to the level scene, and score scene, that displays both the time taken along with score gained and instructions of what key to press to move to the menu on top of a 3D trophy model on top of a background wall texture, along with the required scripts to go through them in the proper order, I have implemented all the scripting and objects for timed enemy spawning and began implementing an enemy respawn system to respawn enemies after they are defeated and at this point the game has the most basic level of functionality required to work but not work to a good standard.

 

13, June

I’ve managed to get all the attacks both player and enemy implemented and working, health is similarly implemented, movements working, almost all animations are mostly working but for some reason I can’t get the player to turn to the left unless it’s for the uppercut animation, scene transition is working along with transferring the time taken and score gained from the gameplay scene to score scene although they don’t yet display so other than that all I should have left is running through and putting coding commentary in the places that need it.

 

14, June

I have now actually implemented the ability for the game to display the time taken, in the form of M:SS, and score gained in the score scene and put commentary through all the scripts that needed it and I added the background music to the main scene that I had forgot about implementing mainly due to listening to other music in the background while working.

Files

Fighter Fighter.zip 24 MB
Jun 24, 2022

Get Fighter Fighter

Leave a comment

Log in with itch.io to leave a comment.