Untitled: Boat Game
Project Overview:
This was a fun little project I made so that I could learn how Unity’s Nav Mesh system worked. During a spring sale on the assest store I got these boats and some low poly water and just decided to make something, and this is what I got. There are mutiple types of boats the player can play as but there is only one senario and one AI state machine built.
Player controls
The player controls the boat using the mouse, similar to a MOBA like Dota 2 or League of Legends with the same type of camera controls. For combat the player presses space, the cannon on their boat then will rotate to face their mouse position when space was clicked then it will fire, the shot has a cooldown and the cannon reposition while it is reloading. Holding shift will also give a speed boost.
AI state machine
The AI in the game is very simple, it is peaceful with the player unless they get too close or attack the AI. The AI will then use the transform that spawns the players bullet to try and guess where the player is going to aim and avoid it. Once the AI gets below a set ammount of health they will start to flee from the player.