GEE - Camera and Field Setup Lesson
Camera and Field Setup Lesson
You've done a lot so far, maybe more than you've done before: started a game engine, created a playing field and player, and gotten that player to move around. That's great! In this next lesson, you will probably start to see similar techniques from the first lessons. That is a big part of programming: recognize those situations that are similar, so you can reuse code, or at least reuse a technique of accomplishing a task.
In this lesson you are going to make a camera follow the player around so you can always see it while playing and moving around. There are many ways of setting up the camera, just like there are many ways of accomplishing many things in a game. You will find your preferred ways, and learn to choose between which method is best.
Moving the Camera
The following tutorial will show you how to connect or associate the camera with the player, allowing you to follow the player throughout the game.
Moving the Camera - Unity Learn Links to an external site.
Setting Up the Play Area
The following video will show you how to create walls to contain your player object on the field.
Setting up the Play Area - Unity Learn Links to an external site.
IMAGES CREATED BY GAVS