I was inspired by this weekend's theme, classic top-down shooter games, and funky ship movement.

What it does

This game is a top-down shooter with a pirate twist. To play, you guide your pirate ship around the ocean scene, avoiding enemy pirate ships and their cannonballs while collecting treasure. The movement is based on player direction with up and down input for movement and left and right for rotation. The enemy pirate ships will chase the player around the scene, firing cannonballs when they get in close range. They also rotate to follow the player and rotate again to fire from the port side of the ship.

How I built it

I built this game in Unity as a Unity2D game using C# for Unity coding language. I watched a lot of Unity tutorials for the rotation math. I used sprite asset packs from (public domain) and chose some fun pirate background music by Joel Steudler (properly licensed) to give it extra pirate flair. I used Unity's animator for the explosions, rotation for player and enemy movement, and physics for firing cannonballs.

Challenges I ran into

This was my first game using rotation. I spent a long time getting the player movement to feel smooth and look right. It also took a while to get the enemy AI correct with the right rotation. I had to use some 3D concepts in this 2D frame, so it also took some tricky substituting to get it right.

Accomplishments that I'm proud of

I'm really proud I learned more about Unity rotation and physics. I'm also proud of how much I was able to get done in such a short amount of time.

What I learned

I learned a lot more about Unity and game development this weekend!

What's next for Bombs Away, Matey!

I'd love to link the game with a score database so players can compete for the highest score.

Built With

Share this project: