Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Unity 2018

You're reading from   Getting Started with Unity 2018 A Beginner's Guide to 2D and 3D game development with Unity

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788830102
Length 336 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dr. Edward Lavieri Jr. Dr. Edward Lavieri Jr.
Author Profile Icon Dr. Edward Lavieri Jr.
Dr. Edward Lavieri Jr.
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Downloading and Installing Unity FREE CHAPTER 2. The Unity Interface 3. Designing the Game 4. Creating Our Terrain 5. Lights, Cameras, and Shadows 6. Creating and Importing 3D Objects for Our Game 7. Implementing Our Player Character 8. Implementing Our Non-Player Characters 9. Adding a Heads-Up Display 10. Scripting Our Points System 11. Scripting Victory and Defeat 12. Adding Audio and Visual Effects to Our Game 13. Optimizing Our Game for Deployment 14. Virtual Reality 15. Other Books You May Enjoy

Using multiple cameras


Our Unity games must have a least one camera, but we are not limited to using just one. As you will see in Chapter 7, Implementing Our Player Character, we will attach our main camera, or primary camera, to our player character. It will be as if the camera is following the character around the game environment. This will become the eyes of our character. We will play the game through our character's view.

A common use of a second camera is to create a mini-map that can be seen in a small window on top of the game display. These mini-maps can be made to toggle on and off or be permanent/fixed display components. Implementations might consist of a fog-of-war display, a radar showing enemies, or a global top-down view of the map for orientation purposes. You are only limited by your imagination. In Chapter 9, Adding a Heads-Up Display, we will create a mini-map as a radar showing where beetles are in relation to the Cucumber Man's current position. 

Another use of multiple...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime