Journal 2


Date: 17.5.2024

Activity:

 - Fixing bugs found by classmates;

     -> The spaceship rotated in the wrong direction after up or down if the player presses the spacebar while changing the trajectory to horizontal.

- Added background sounds, sounds of shooting, asteroid explosions, ship collisions, and a sound for collecting coins.

     -> Add more obstacles.

- Create a Level menu.

Notes:

On the first day of working on the final version of the game, I decided to start by fixing the main bug. It was evident that the spaceship would rotate in the wrong direction after ascending or descending if the player pressed the spacebar while changing the trajectory to horizontal. To fix this, I had to create a separate instance for each 'vector' that changed the ship's trajectory and delete it immediately after use.

 

It was suggested to add more types of obstacles. Therefore, I decided to add traffic cones that cannot be destroyed, and upon collision with them, 50 points are deducted from the total score.

 

I also decided to add levels to make the game more engaging. Therefore, at the moment, there are only three levels.

 

Invested hours:

 • Scripts: 8h 20 min

Outcome: Not yet

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Date: 18.5.2024 - 19.5.2024

Activity:

 - Create a Start/Quit menu;

- Create Level 2 and Level 3.

Notes:

On the second day, I decided to add a menu that would open the level selection screen and also fully exit the game.

 

Also, I decided to work on the levels. It all started from the second level. I encountered a problem. Initially, the idea was that only the first level would be open when the program was first launched. After completing it, the second level would unlock, and so on. Everything worked fine for me, but when I built the game, all levels were unlocked. I spent a lot of time trying to solve this problem but couldn't find a solution. I had to abandon the idea and leave all levels unlocked.

 

Another issue arose where the spaceship would compress and shrink in size when rotating along the X-axis. I managed to identify this problem and partially fix it. The problem stemmed from incorrect acceleration recalculation when the spaceship was downward, altering its velocity vector. At that moment, the player could accidentally press the spacebar, resulting in strange compression and shrinking effects on the spaceship.

 

Invested hours:

 • Scripts: 9h 50 min

Outcome: ProjectC_Final.zip (uploaded to the itcho.io page as a .zip file)

Files

ProjectC_Final.zip 31 MB
May 19, 2024

Get Project C

Leave a comment

Log in with itch.io to leave a comment.