Get started with C# programming and Unity without the headaches
Without my book, most people spend too long trying to learn C# with Unity the hard way. This book is the only one that will get you to learn Unity fast without wasting so much time. It includes nine chapters that painlessly teach you the necessary skills to master C# with Unity and to create both 2D and 3D interactive games.
What you will learn
After completing this book, you will be able to:
- Code in C#.
- Understand and apply C# concepts.
- Create a 3D adventure game with the main character, a timer, and a mini-map.
- Display and update a user interface with text and images.
- Create and use C# variables and methods for your game.
- Include intelligent NPCs that chase the player.
- Create a 2D word-guessing games and an infinite runner.
- Load new scenes from the code, based on events in your games.
Content and structure of this book
The content of each chapter is as follows:
- Chapter 1 introduces some core programming and C# principles.
- Chapter 2 helps you to code your first script in C#.
- Chapter 3 gets you to improve your scripting skills, enhance your game and add more interaction with a scoring system, collisions detection, and access to new levels.
- Chapter 4 shows you how to create and update the user interface of your game with text and images.
- In Chapter 5 you will add a splash-screen, a simple inventory system, and sound effects, as well as a mini-map.
- Chapter 6 explains how to add Non-Player Characters (NPCs) that will chase the player.
- Chapter 7 explains how to create a 2D word-guessing game.
- Chapter 8 will show you how to create an entertaining 2D infinite runner where the player can control a character that needs to jump over randomly generated obstacles.
- Chapter 9 provides answers to Frequently Asked Questions (FAQs) (e.g., scripting, audio, AI, or user interface).
If you want to start coding in C# and create your own game with Unity using a tried-and-tested method: download this book now.
Patrick Felicia is a lecturer and researcher at Waterford Institute of Technology, where he teaches and supervises undergraduate and postgraduate students. He obtained his MSc in Multimedia Technology in 2003 and PhD in Computer Science in 2009 from University College Cork, Ireland. He has published several books and articles on the use of video games for educational purposes, including the Handbook of Research on Improving Learning and Motivation through Educational Games: Multidisciplinary Approaches (published by IGI), and Digital Games in Schools: a Handbook for Teachers, published by European Schoolnet. Patrick is also the Editor-in-chief of the International Journal of Game-Based Learning (IJGBL), and the Conference Director of the Irish Symposium on Game-Based Learning, a popular conference on games and learning organized throughout ireland.