Unity Certified Programmer Exam Guide (eBook)
766 Seiten
Packt Publishing (Verlag)
978-1-80324-361-0 (ISBN)
Unity Certified Programmer is a global certification program by Unity for anyone looking to become a professional Unity developer. The official Unity programmer exam will not only validate your Unity knowledge and skills, but will also enable you to be a part of the Unity community.
This study guide will start by building on your understanding of C# programming and taking you through the process of downloading and installing Unity. You'll understand how Unity works and get to grips with the Unity exam's core objectives. As you advance, you'll enhance your skills by creating an enjoyable side-scrolling shooter game that can be played within the Unity Editor or any modern Android mobile device. This Unity book will test your knowledge with self-assessment questions and help you take your skills to an advanced level by working with Unity tools such as the animator, particle effects, lighting, UI/UX, scriptable objects, and debugging.
By the end of this book, you'll have developed a solid understanding of the different tools in Unity and be able to create impressive Unity applications by making the most of its toolset.
A practical, illustrated guide to Unity game scripting using C#, along with practice tests, exam tips, and easy-to-follow examples to help you pass the exam and become a professional Unity programmerKey FeaturesLearn essentials of game scripting with Unity and C# to customize aspects of your gameTackle challenges in Unity game development and the certification exam using effective techniques and solutionsPrepare for the latest Unity certification exam using mock tests, exam tips, and self-assessment questionsBook DescriptionUnity Certified Programmer is a global certification program by Unity for anyone looking to become a professional Unity developer. The official Unity programmer exam will not only validate your Unity knowledge and skills, but will also enable you to be a part of the Unity community. This study guide will start by building on your understanding of C# programming and taking you through the process of downloading and installing Unity. You ll understand how Unity works and get to grips with the Unity exam s core objectives. As you advance, you ll enhance your skills by creating an enjoyable side-scrolling shooter game that can be played within the Unity Editor or any modern Android mobile device. This Unity book will test your knowledge with self-assessment questions and help you take your skills to an advanced level by working with Unity tools such as the animator, particle effects, lighting, UI/UX, scriptable objects, and debugging. By the end of this book, you ll have developed a solid understanding of the different tools in Unity and be able to create impressive Unity applications by making the most of its toolset.What you will learnDiscover techniques for writing modular, readable, and reusable scripts in UnityImplement and configure objects, physics, controls, and movements for your game projectsUnderstand 2D and 3D animation and write scripts to interact and use Unity s rendering APIExplore Unity APIs for adding lighting, materials, and textures to your appsWrite Unity scripts for building interfaces for menu systems, UI navigation, application settings, and much moreFocus on SOLID principles for writing clean and maintainable Unity applicationsWho this book is forThis Unity engine book is for game developers, software developers, mobile app developers, and Unity developers who want to advance in their career and gain gaming industry certification. The book assumes basic knowledge of C# programming and the Unity engine.]]>
Preface
Unity Certified Programmer: Exam Guide – Second Edition will take a basic object-oriented programmer and introduce them to Unity through a creative project that stretches across the entire book, achieving essential exam core objectives that can be put toward Unity's own Official Programmer Exam.
This book will take you (the programmer) through a discussion of the exam itself, breaking down each of its objectives, and what is expected of you to achieve a pass. From there, everything we'll discuss relates to supporting you with potential questions from the exam. So, we'll start straight away and refer to an overview of common design patterns and even more common SOLID principles that all programmers need to know. We will go through our game design brief and custom-built framework before we even touch Unity.
After installing Unity, you will begin to take your first steps in building a side-scrolling shooter game, and at the beginning of every chapter, it will be brought to your attention which core objectives we will be covering to support you. After some chapters, you will also be tested with a mini mock exam to see how you are getting on.
By the end of the book, you will have created a game that can be played on a standalone PC and/or Android device supporting a keyboard and touch screen controls, where you will fly a spaceship to fight off oncoming enemies.
As early as Chapter 2, Adding and Manipulating Objects, you will have coded the majority of the game, and the following chapters that we'll progress through will introduce you to Unity's tools and components, such as the Timeline, which is specifically built for the TV/film industry and cutscenes in games. You will cover particle effects, different materials to apply to your game objects to make them react to light, fading the sound in and out by manipulating an audio mixer with your scripting, pausing the game, storing values in your own scriptable objects, and much, much more.
Even if you aren't taking the Unity Certified Programmer Exam, you will make a game that you can continue to develop, play, and learn from.
Who this book is for
This Unity engine book is for game developers, software developers, mobile app developers, and Unity developers who want to advance in their careers and gain gaming industry certification. The book assumes basic knowledge of C# programming and the Unity engine.
What this book covers
Chapter 1, Setting Up and Structuring Our Project, introduces what is expected of you in the exam, discusses SOLID principles, and gives an overview of design patterns. You will also see how we are going to create our game by looking at its framework and version control.
Chapter 2, Adding and Manipulating Objects, gets you started with coding and importing 3D assets to get the basics of the game functioning.
Chapter 3, Managing Scripts and Taking a Mock Test, extends the game out into menu screens, adding sound, adding a scoring system, and ending with the first mock exam.
Chapter 4, Applying Art, Animation, and Particles, focuses on understanding materials, animating textures, and creating particle systems.
Chapter 5, Creating a Shop Scene for Our Game, introduces the shop scene and how to make use of Unity's raycast system, which shoots invisible rays to help identify game objects, and looks at various uses of scriptable objects for filling out content.
Chapter 6, Purchasing In-Game Items and Advertisements, covers making the shop scene have a working in-game balance to buy upgrades and introduce users to watch adverts to gain extra in-game credits. By the end of the chapter, the player will be able to make use of firing a new weapon and taking extra hits from enemies with their bought shield.
Chapter 7, Creating a Game Loop and Mock Test, covers moving through each screen until the game loops back to the beginning to create a game loop, finishing off with a mock test that has questions on the material learned so far.
Chapter 8, Adding Custom Fonts and UI, gets you more familiar with Unity's 2D Canvas, adding polish to each screen by applying image components and custom fonts and animating each level's title.
Chapter 9, Creating a 2D Shop Interface and In-Game HUD, takes the shop scene from looking less like a prototype to more polished and functioning to support various screen aspect ratios. This chapter also introduces an in-game life, map, and score system.
Chapter 10, Pausing the Game, Altering Sound, and a Mock Test, covers the creation of a pause screen for each level of the game, which will give options to alter the game's volume controls, as well as quitting and resuming the game, followed by a mock test to check your knowledge of the chapter.
Chapter 11, Storing Data and Audio Mixer, makes use of Unity's own PlayerPrefs, and compares it with JSON and storing data in the cloud with remote settings.
Chapter 12, NavMesh, Timeline, and a Mock Test, introduces a new enemy that attempts to escape the player with the use of AI and looks at animating a boss into the scene with the use of Unity's animation tool, Timeline, and extending its functionality to animate flashing lights. There's another mock test at the end of the chapter to see how well things are going.
Chapter 13, Effects, Testing, Performance, and Alt Controls, discusses making use of colliders, rigidbody properties, visual effect post-processing, global lighting, and reflection probes. This chapter also looks at further gameplay functionality to support mobile controls, as well as building and testing the game on PC and mobile.
Chapter 14, Full Unity Programmer Mock Exam, includes over 90 questions to answer and to test you on what you've learned from all 13 chapters. The answers can be found in the appendix.
To get the most out of this book
Some familiarity with Unity would be helpful but is not essential. A basic understanding of C# or any other object-oriented programming knowledge is required. At the time of writing this book, the Unity exam is based on Unity version 2020 LTS. We'll go through the procedure of downloading and installing the software in Chapter 1, Setting Up and Structuring Our Project. If, for any reason, you are using a later version of Unity, that shouldn't matter unless the book mentions where things may differ between versions.
System requirements
The following table is a list of requirements for Unity to run on your system. For any further information about system requirements, check the following link: https://docs.unity3d.com/Manual/system-requirements.html.
Download the example code files
You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/Unity-Certified-Programmer-Exam-Guide-Second-Edition. If there's an update to the code, it will be updated in the GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Code in Action
The Code in Action videos for this book can be viewed at https://bit.ly/3LslyB0.
Download the color images
We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781803246215_ColorImages.pdf.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in the text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "A Unity package is a single file that contains various assets that can be used in Unity in a similar manner to a .zip file."
A block of code is set as follows:
void Start()
{
this.transform.localPosition = Vector3.zero; startPos = transform.position;
Distance();
}
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "With our GameManager game object selected from the Hierarchy window, go to the Inspector window."
Tips or Important Notes
Appear like this.
Get in touch
Feedback from our readers is always welcome.
General feedback: If you have questions about any aspect of this book, email us at customercare@packtpub.com and mention the book title in the subject of your message.
Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit...
| Erscheint lt. Verlag | 2.5.2022 |
|---|---|
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Grafik / Design |
| Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
| Informatik ► Software Entwicklung ► Spieleprogrammierung | |
| ISBN-10 | 1-80324-361-9 / 1803243619 |
| ISBN-13 | 978-1-80324-361-0 / 9781803243610 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
Digital Rights Management: ohne DRM
Dieses eBook enthält kein DRM oder Kopierschutz. Eine Weitergabe an Dritte ist jedoch rechtlich nicht zulässig, weil Sie beim Kauf nur die Rechte an der persönlichen Nutzung erwerben.
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür die kostenlose Software Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür eine kostenlose App.
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich