Camera

The Camera is from the back, always following the character at the height of X and at variable speed.

When the character does not move.

  • Using an X/Y input of a mouse, the player can move the camera freely on a sphere around the character, always looking at him. Vertically, the camera can move at a limited angle.

When the character moves.

  • Using X/Y mouse input, the player can move the camera mostly horizontally.

If the character is hidden behind an obstacle, the camera checks if the character is visible from a new position that way:

  • Automatically rotating around the "sphere", prior to horizontal rotation and coming closer to the character.

If during the movement of the camera by the player, it climbs into the wall - the camera will stop and will not be able to move further.

Last updated