Week 1 of Development


In the first week of development I worked on implementing basic versions of most of the features for the game.  The first thing I did was add player movement, with this just consisting of vertical movement. Following this I began working on some of the obstacles that the player has to avoid, with these being torpedoes and mines. Both of these obstacles share relatively similar code, with their main difference being their speed and size. After this I added the option for the player to control their speed, with this also affecting how quickly the mines move towards them. Following this I began working on sonar projectiles that reveal obstacles on collision and expand and shrink in size over time. Once I had finished this I made it so that they are fired from the submarine every few seconds in the direction of the mouse cursor. My next step was to implement some of the user interface, with me adding a health bar, a counter for the distance the player has travelled and a bar showing the player's progress towards their personal best. Afterwards I created a spawner to create more obstacles, and made it scale it's values based on the distance that the player has travelled. Finally, I added camera shake for when the player collides with an obstacle.

Get Submarine

Leave a comment

Log in with itch.io to leave a comment.