Description
Book SynopsisThis second edition of C# Game Programming Cookbook for Unity 3D expounds upon the first with more details and techniques. With a fresh array of chapters, updated C# code and examples, Jeff W. Murray's book will help the reader understand structured game development in Unity unlike ever before.
New to this edition is a step-by-step tutorial for building a 2D infinite runner game from the framework and scripts included in the book. The book contains a flexible and reusable framework in C# suitable for all game types. From game state handling to audio mixers to asynchronous scene loading, the focus of this book is building a reusable structure to take care of many of the most used systems.
Improve your game''s sound in a dedicated audio chapter covering topics such as audio mixers, fading, and audio ducking effects, or dissect a fully featured racing game with car physics, lap counting, artificial intelligence steering behaviors, and game management. Use this book t
Table of Contents
Acknowledgments. Introduction. Prerequisites. 1. Making Games in a Modular Way. 2. Making a 2D Infinite Runner Game. 3. Building the Core Game Framework. 4. Player Structure. 5. Recipes: Common Components. 6. Player Movement Controllers. 7. Weapon Systems. 8. Waypoints Manager. 9. Recipe: Sound and Audio. 10. AI Manager. 11. Menus and User Interface. 12. Saving and Loading Profiles. 13. Loading Level Scenes. 14. Racing Game. 15. Blaster Game Example. Index.