▶Book Description
Do you want to learn C# programming by creating fun and interactive games using the latest Unity 2017 platform? If so, look no further; this is the right book for you. Get started with programming C# so you can create 2D and 3D games in Unity. We will walk you through the basics to get you started with C# 7 and its latest features. Then, explore the use of C# 7 and its latest functional programming capabilities to create amazing games with Unity 2017.
You will create your first C# script for Unity, add objects into it, and learn how to create game elements with it. Work with the latest functional programming features of C# and leverage them for great game scripting.
Throughout the book, you will learn to use the new Unity 2017 2D tool set and create an interactive 2D game with it. You will make enemies appear to challenge your player, and discover some optimization techniques for great game performance. At the end, you will learn how to transform a 2D game into 3D, and you will be able to skill up to become a pro C# programmer with Unity 2017!
▶What You Will Learn
⦁ Create your first 2D and 3D games in Unity
⦁ Understand the fundamentals of variables, methods, and code syntax in C#
⦁ Use loops and collections efficiently in Unity to reduce the amount of code
⦁ Develop a game using object-oriented programming principles
⦁ Implement simple enemy characters into the game to learn point-to-point movement and Tree behaviors
⦁ Avoid performance mistakes by implementing different optimization techniques
⦁ Export 3D models and animations and import them inside a Unity project
▶Key Features
⦁ Learn the fundamentals of C# 7 scripting to develop GameObjects and master the basics of the new UI system in Unity 2017
⦁ Build and develop your 2D game right from scratch and extend it to 3D while implementing the principles of object-oriented programming and coding in C# 7
⦁ Get to grips with the fundamentals of optimizing your game using the latest features of Unity 2017
▶Who This Book Is For
The book is targeted at beginner-level Unity developers with no prior programming experience. If you are a Unity developer and wish to create games by learning how to write C# scripts or code, then this book is for you.
▶What this book covers
⦁ Chapter 1, Discovering Your Hidden Scripting Skills and Getting Your Environment Ready, puts you at ease with writing scripts for Unity.
⦁ Chapter 2, Introducing the Building Blocks for Unity Scripts, helps you develop the skill of writing your first executable code.
⦁ Chapter 3, Getting into the Details of Variables, teaches you about creating and using C# variables, followed editing them in Unity Inspector.
⦁ Chapter 4, Getting into the Details of Methods, helps you learn more in detail about methods and how to use them to understand the importance of code blocks and the variables used in them.
⦁ Chapter 5, Lists, Arrays, and Dictionaries, introduces slightly more complex ideas of handling, lists, arrays, and dictionaries, which allow you to store many values at once.
⦁ Chapter 6, Loops, focuses on learn how to "ask" Unity to loop through a section of code and do something useful.
⦁ Chapter 7, Objects, a Container with Variables and Methods, dives into the subjects of organizing your code and object-oriented programming.
⦁ Chapter 8, Let's Make a Game! –. from Idea to Development, explains how to turn an idea into a ready-to-code project and how to break down complex mechanics into pieces.
⦁ Chapter 9, Starting Your First Game, outlines transforming an idea into a real Unity project.
⦁ Chapter 10, Writing GameManager, gets you acquainted with the basics of the singleton approach and also helps you work through the gameplay loop.
⦁ Chapter 11, The Game Level, teaches how to create reusable pieces
of a level and also how to populate them to create the illusion of an endlessly running game.
⦁ Chapter 12, The User Interface, showcases how to construct and implement the user interface in our game.
⦁ Chapter 13, Collectables, outlines collectables and storing some data between Unity sessions.
⦁ Chapter 14, Enemies, assists in how to create enemies and obstacles, how to animate them and how to turn simple Game Objects into deadly objects.
⦁ Chapter 15, Audio, 3D Games, and Export, assists in implementing audio effects and music, introduces you to the fundamentals of how to create a 3D game, and finally, how we can export the game to multiple platforms.