Currently, in our game, our spaceships are destroyed with a single collision. This ends up creating a game that is over very quickly. It would be nice to have a force field to prevent the ship's destruction when a collision is about to occur. This will also give our AI something else it can do in its bag of tricks. When the shields are up, there will be a little force-field animation surrounding the spaceship that is using it. There is a time limit to shield use. That will prevent the player or the AI from keeping the shield up for the entire game. While the shield is active, the color of the shields will transition from green to red. The closer the color gets to red, the closer the shields are to running out of power. Every time the shields get hit, the player or AI's shields will have additional time taken off them. We have already created the class...





















































