HAF: Camera

The camera system in Hyper Action Force has 3 states; All-Range mode, Aim Mode, and Brawl Mode. All-Range Mode works similar to the way the vehicle camera's in Halo work. This Camera system is closely tied to the controls of the game since the characters forward direction is based on the forward direction of the camera. Aim mode locks the camera onto the enemy player, and pulls the camera location to be closer to the player robots shoulder. A slightly narrower field of view might help to give players the sense of focusing on the enemy. Players can go back and forth between All-Range Mode and Aim Mode by pressing Y, so long as they are outside of Brawl Mode distance. Brawl Mode is the primary melee camera. This camera will activate once players approach melee range. We will have to tweak the exact distance. Players automatically enter brawl mode when they get close enough, no matter what camera state they are currently in. In Brawl Mode, players will always turn to face their opponent unless the player is in the middle of a punch/ability animation. Since this limits the players ability to turn around, players will have to back up to escape brawl mode. This camera will be slightly further to the right and higher up than other cameras. The vertical angle of the camera will increase slightly as players get closer in order to see more of the action. Pressing Y inside of Brawl Mode causes an error sound effect to play.