Skip to main content

Camera

The camera module can adjust the horizontal and vertical scroll values based on an actor it can follow.

It can perform other actions such as screen shake, or flash. It can also scroll to a given position.

Follow Styles

The camera can follow an actor with different styles.
The style adjust the predefined deadzone setup, you can use Camera Set Deadzone event if you don't like any.

  • Simple - The Camera is always centered on the actor.
  • Platformer - The camera has small deadzones on the sides and bigger on top area.
  • Top Down - The camera has a big deadzone on all sides.
  • Screen By Screen - The camera deadzone is the same as the screen.

The best way to understand this is to check the Camera Follow example.