Book description
Jump start your Unity game development journey with a detailed review of a complete, professionally built game using Unity, C#, and Visual Studio. Gain invaluable experience with code structure, project structure, centralization of game state data, controlled initialization of script components, AI opponents, multiple input sources, player preferences, a full HUD and menu system, music and sound effects, level/track building, and more.
Author Victor Brusca walks you through the game’s code, scripts, and overall structure, all the while showing you how the code works within the Unity engine to define a complete, refined game. Starting with game specifications, the book covers base classes, basic interaction classes, advanced interaction classes, helper classes, input classes, and abstraction of raw input. Next, you'll dive into the menu system and see how a full, complete menu and HUD are coded and set up in the project through a detailed review of the code and working examples. Subsequently, you’ll gain insight on player and game state management, and the author will demystify the component-based structure of Unity games by demonstrating how to maintain order and centralization. Lastly, you will review pertinent build and project settings while learning techniques to profile and check the performance of your games, and tie it all together by building a new racetrack for the included game project.
On completing this book, you’ll have gained experience through the detailed review of a hover car racing game using C#, Unity Coding, Visual Studio, Unity C# Project Management, Unity Environment, Unity Project Management and more.- Understand Unity project design and implementation with regard to code base and scene hierarchy/game objects
- Learn to implement game mechanics connected to Unity scene game objects with working demonstrations
- Review professional topics,such as AI opponents, data persistence, menu systems, etc., and implement in the included project
- Create a complete game from ground up using prefab models and the code reviewed throughout the text
Table of contents
- Cover
- Front Matter
- 1. Introduction and Getting Started
- 2. Game Specifications
- 3. Base Class
- 4. Interaction Classes
- 5. Advanced Interaction Classes
- 6. Helper Classes
- 7. Input Classes
- 8. Menu System Classes
- 9. Player and Game State Classes Part 1
- 10. Player and Game State Classes Part 2
- 11. Making It Professional
- 12. Adding a New Racetrack
- 13. Conclusion
- Back Matter
Product information
- Title: Advanced Unity Game Development: Build Professional Games with Unity, C#, and Visual Studio
- Author(s):
- Release date: December 2021
- Publisher(s): Apress
- ISBN: 9781484278512
You might also like
video
Unity C# Scripting — Complete C# for Unity Game Development
Unity is free, easy to learn, has excellent documentation, and is the game engine used to …
video
Unity Game Projects — 20+ Mini Projects in Unity and C#
Unity is free, easy to learn, has excellent documentation, and is the game engine used for …
book
Learning C# by Developing Games with Unity - Seventh Edition
Learn C# programming from scratch using Unity as a fun and accessible entry point with this …
video
Unity Android — Build Eight Mobile Games with Unity and C#
For game developers, the Android Play Store is no longer an evolving market but an established …