This video will help you build 2D games in Unity using the engine's 2D technologies based on Version 5.x.
You will be shown how to get up-and-running with Unity 5.4.1, including the basic steps to choose the appropriate edition and install the software. You will also be shown how to find older versions of Unity and learn about the key differences compared to previous versions.
To start with, you will learn the introductory information needed to work in Unity 2D game development. The video describes the process of setting up a project in 2D mode, covers the use of 2D sprites, discusses ways to access 2D objects via code, and explains the basics of the User Interface. It then covers the very first game genre—text adventure—and you will go on to create an example of this with the various elements discussed earlier in the chapter.
Once you reach the end and have produced a text adventure game, you can go back to the challenges included in each chapter and use them to improve the game and your 2D game development skills!
About The Author
Dr. Ashley Godbold is a programmer, game designer, artist, mathematician, and teacher. She holds a Bachelor of Science in Mathematics, a Master of Science in Mathematics, a Bachelor of Science in Game Art and Design, and a Doctor of Computer Science in Emerging Media where her dissertation research focused on educational video game design. She works full-time as a Game Developer and also runs a small indie/passion studio. She teaches college videos in Unity, 3ds Max, Adobe Flash, game design, and mathematics. She is also the author of Mastering Unity 2D Game Development: Second Edition by Packt Publishing.
When creating a new 2D project, it is important to select the correct mode.
Properly setting up the folder structure is important to maintaining a well-organized project.
Understanding the use of scenes is vital to the development of games in Unity.
Determining the correct import settings for your sprites is an important first step in working with sprites.
Manipulating the region of a sprite helps make sure that it displays correctly within a game.
The sprite renderer is the component that determines how sprites are drawn in a scene.
To get a scene to display correctly, you must make sure all of your sprites are appearing in the correct overlapping order.
Covering the basic structure and vocabulary of c# scripts
It is important to be able to access components of various GameObjects.
Canvases are required to create UI elements and panels help to organize the layout appropriately.
Learning how to create UI Text and UI images will help to make more appealing UI displays.
Using appropriate layout will make items in your UI scale appropriately.
Intractable buttons that perform tasks are a key functionality of Unity's UI.
You can perform events other than just click events on buttons.
Taking the proper steps to make sure you organize your text adventure game will save you a lot of headache.
Successfully navigating between scenes is an important aspect to Text Adventure games and any game with multiple scenes.
Many UI elements need to be persistent throughout all game scenes.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.