A lot of new gameplay elements have been added for assignment 6. Adding them required us to move away from pygame's sprite groups and implement a general world class. This gave us more flexibility in coding the way entities interact with each other.
One of these additions is the actor/health system. We display the player's health with a new light type that is attached to the player. The light displays as a green forcefield for full health, a yellow forcefield for damaged, and a red forcefield for critical. The light also allows the player to see where the dolphin is onscreen in the dark due to the forcefield.
The world class also makes it significantly easier to add more complex enemies. On the right is the first boss of the game. All four guns can now shoot. The boss also triggers a chain reaction of explosions for its death sequence.