- [Narrator] So at this point, as we've been…testing out our game,…you may have found it a little bit hard…to see what's going on because of…the zoom level of the camera.…We're going to go ahead and fix that.…First let's talk a little bit about the camera in a 2D game.…If you select the camera from the hierarchy window…and take a look at its settings,…you'll see that the camera is set to…projection orthographic.…This means that everything the camera sees…will be rendered in 2D.…
You can change this to perspective,…but it may have different results than you're expecting.…Sometimes you can use perspective cameras…in order to add a little bit extra depth,…or to mix 2D and 3D in your game.…We're going to stick with the default value…of orthographic.…Also, we set our size manually to 30…and the camera doesn't know how to follow the player…on its own.…In order to fix this, we're going to create a new script…and call it camera follow.…
Then let's double click on the script…and open it up in MonoDevelop.…In order for us to follow the camera,…
- Optimizing sprites and draw cells
- Cutting up sprite sheets
- Building animations
- Changing animations
- Creating a player
- Moving the player
- Building a level with a simple map
- Creating interactive objects
- Creating alien enemies
- Switching between scenes
Skill Level Intermediate
Careers in the Game Industrywith Christian Bradley1h 19m Beginner
1. Working with Sprites
2. Working with Animations
3. Creating a Player
4. Moving the Player
5. Building a Level
6. Interactive Objects
7. Alien and AI
8. Managing Scenes
Next steps1m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.