Overview
- Teaches the know-how and techniques needed to create and deploy your own game explained through examples
- Learn to create effective scripts and programs for making great games
- Understand important programming concepts, including variables, loops, methods and classes
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (41 chapters)
-
Tower Defense
-
Physics Playground
Keywords
About this book
Starting with an introduction to Unity, you'll learn about scenes, GameObjects, prefabs, components, and how to use the various windows to interact with the engine. You'll then dive into the fundamentals of programming by reviewing syntax rules, formatting, methods, variables, objects and types, classes, and inheritance, all while getting your hands dirty writing and testing code yourself. Later, the book explains how to expose script data in the Inspector and the basics of Unity’s serialization system.
This carefully crafted work guides you through the planning and development of bare bones, simple game projects designed to exercise programming concepts while keeping less relevant interruptions out of the way, allowing you to focus on the implementation of game mechanics first and foremost. Through these example projects, the book teaches input handling, rigidbodies, colliders, cameras, prefab instantiation, scene loading, user interface design and coding, and more.
By the end, you'll have built a solid foundation in programming that will pave your way forward in understanding core C# syntax and fundamentals of object-oriented programming—not just what to type but why it's typed and what it’s really doing. Game Programming with Unity and C# will send you on your way to becoming comfortable with the Unity game engine and its documentation and how to independently seek further information on yet-untouched concepts and challenges.
What You'll Learn
- Understand the fundamentals of object-oriented computer programming, including topics specifically relevant for games.
- Leverage beginner-to-intermediate-level skills of the C# programming language and its syntax.
- Review all major component types of the Unity game engine: colliders and rigidbodies, lights, cameras, scripts, etc.
- Use essential knowledge of the Unity game engine and its features to balance gameplay mechanics for making interesting experiences.
Who This Book Is For
Beginners who have no prior experience in programming or game development who would like to learn with a solid foundation that prepares them to further develop their skills.
Authors and Affiliations
About the author
Casey Hardman is a hobbyist game developer, who found inspiration in the capacity for immersion and interactivity provided by games. His area of focus is the Unity game engine. He has nurtured a passion for video games since he was a child. In his early teens, this interest led him on a journey into the world of game design and programming. He is self-taught through a variety of personal projects, some small and some lofty. He has been regular contributor on various online game development platforms and spends far too much time in front of a keyboard.
Bibliographic Information
Book Title: Game Programming with Unity and C#
Book Subtitle: A Complete Beginner’s Guide
Authors: Casey Hardman
DOI: https://doi.org/10.1007/978-1-4842-5656-5
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Casey Hardman 2020
eBook ISBN: 978-1-4842-5656-5Published: 13 June 2020
Edition Number: 1
Number of Pages: XX, 577
Number of Illustrations: 121 b/w illustrations
Topics: Game Development, Software Engineering/Programming and Operating Systems