Bubblefield
"Bubblefield" is a game I am very proud of. In this two player game, each player controls a cute little bubble tank. The goal is to pop the other player's tank ten times, and collect powerups to have an edge on your opponent.
Context
This game was made for a study course on 2D physics programming. Its purpose was to teach basic vector math and collisions. I had a lot of fun making it. And per usual, that means I decide to be extra and take it a few steps further.
Goal
This game was made for a study course on 2D physics programming. Its purpose was to teach basic vector math and collisions. I had a lot of fun making it. And per usual, that means I decide to be extra and take it a few steps further.

Gameplay
The two tanks are controlled through the keyboard and mouse of the same device for simplicity. Tanks and bubbles are both bouncy. Bubbles have low bounciness, which means they reflect less when they collide with a surface. Tanks however are very bouncy. Bump away!
There are two different powerups that can be collected. The first one (shown on the left) upgrades the size of the bubbles your tank fires. Designing an icon for that specific purpose proved rather challenging!
There are two different powerups that can be collected. The first one (shown on the left) upgrades the size of the bubbles your tank fires. Designing an icon for that specific purpose proved rather challenging!



The second powerup (shown on the right) adds MORE BUBBLES to the game! It does this by adding a split mechanic whenever a bubble is fired or bouncing off of a wall or tank.
Bubbles apply force on the tank of the other player based on their mass and velocity. Damage is also calculated based on these values. Bumping into the other player’s tank bounces both tanks away.
Bubbles apply force on the tank of the other player based on their mass and velocity. Damage is also calculated based on these values. Bumping into the other player’s tank bounces both tanks away.
Issues & Fixes
I don’t have floating on water, I have floating IN water. Both bubble tanks and their bubble missiles ‘float’ in the water. The bubbles and tanks slowly move up and down.
Also, at some point I wanted to merge bubbles together. It did work on colliding with other bubbles and was based on the size of both bubbles. Sadly, I had to disable it for the time being because it posed problems when colliding with walls.
Also, at some point I wanted to merge bubbles together. It did work on colliding with other bubbles and was based on the size of both bubbles. Sadly, I had to disable it for the time being because it posed problems when colliding with walls.
