0
0
Unityframework~5 mins

2D camera setup in Unity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main purpose of a 2D camera in Unity?
A 2D camera in Unity captures and displays the 2D game world from a specific viewpoint, controlling what the player sees on the screen.
Click to reveal answer
beginner
How do you set the camera to orthographic mode in Unity?
Select the Camera object in the scene, then in the Inspector window, set the Projection property to 'Orthographic'. This removes perspective distortion for 2D games.
Click to reveal answer
intermediate
What does the 'Size' property of an orthographic camera control?
The 'Size' property controls the half-height of the camera's view in world units. Increasing it zooms out, showing more of the scene; decreasing it zooms in.
Click to reveal answer
beginner
Why is the camera's Z position important in a 2D setup?
In 2D, the camera must be positioned on the Z-axis so it can see the 2D sprites placed on the XY plane. Usually, the camera's Z is set to -10 to look towards the origin.
Click to reveal answer
intermediate
How can you make the camera follow a player smoothly in 2D?
You can write a script that updates the camera's position to follow the player's position, often using interpolation (like Lerp) to make the movement smooth.
Click to reveal answer
Which camera projection is best for 2D games in Unity?
AOrthographic
BPerspective
CPanoramic
DVR
What happens if you increase the 'Size' property of an orthographic camera?
AThe camera zooms in
BThe camera changes color
CThe camera rotates
DThe camera zooms out
Where should the 2D camera be placed on the Z-axis to see sprites on the XY plane?
AAt Z = 10
BAt Z = -10
CAt Z = 0
DAt Z = 100
Which Unity component do you adjust to make the camera follow a player?
ACamera's Transform position
BCamera's Light component
CCamera's Audio Listener
DCamera's Collider
What is a common method to smooth camera movement when following a player?
AAdding a Rigidbody to the camera
BChanging camera's background color
CUsing Vector3.Lerp in a script
DDisabling the camera
Explain how to set up a basic 2D camera in Unity and why orthographic projection is used.
Think about how 2D games show flat images without depth.
You got /4 concepts.
    Describe a simple approach to make the camera follow a player smoothly in a 2D Unity game.
    Imagine the camera is like a friend walking behind the player without sudden jumps.
    You got /4 concepts.