导语
内容提要
你想开发移动游戏,但缺乏相关经验?没问题。乔恩·曼宁、帕里斯·巴特菲尔德著的《Unity移动游戏开发(影印版)(英文版)》将教你如何运用Unity游戏引擎,为iOS和Android设备创建漂亮互动的内容。本书提供了自顶向下的Unity特性概览,通过具体的、以项目为导向的指引,帮助你将它们用于真实的游戏场景。完成本书整个课程之后,你将学会如何从头打造能吸引和愉悦玩家的2D/3D游戏。只要具备基础编程技能,就可以准备开始工作。
目录
Preface
Part I.The Basics of Unity
1. Introducing Unity
Hello, Book
Hello, Unity
2. A Tour of Unity
The Editor
The Scene View
The Hierarchy
The Project View
The Inspector
The Game View
Wrapping Up
3. Scripting in Unity
A Crash Course in C#
Mono and Unity
Game Objects, Components, and Scripts
Important Methods
Coroutines
Creating and Destroying Objects
Attributes
Time in Scripts
Logging to the Console
Wrapping Up
Part II. Building a 2D Game: Gnome on a Rope
4. Getting Started Building the Game
Game Design
Creating the Project and Importing Assets
Creating the Gnome
Rope
Wrapping Up
5. Preparing for Gameplay
Input
Setting Up the Gnomes Code
Setting Up the Game Manager
Preparing the Scene
Wrapping Up
6. Building Gameplay with Traps and Objectives
Simple Traps
Treasure and Exit
Adding a Background
Wrapping Up
7. Polishing the Game
Updating the Gnomes Art
Updating the Physics
Background
User Interface
Invincibility Mode
Wrapping Up
8. Final Touches on Gnome's Well
More Traps and Level Objects
Particle Effects
Main Menu
Audio
Wrapping Up and Challenges
Part III. Building a 3D Game: Space Shooter
9. Building a Space Shooter
Designing the Game
Architecture
Creating the Scene
Wrapping Up
10. Input and Flight Control
Input
Flight Control
Wrapping Up
11. Adding Weapons and Targeting
Weapons
Target Reticle
Wrapping Up
12. Asteroids and Damage
Asteroids
Damage-Dealing and Taking
Wrapping Up
13. Audio, Menus, Death, and Explosions!
Menus
Game Manager and Death
Boundaries
Final Polish
Wrapping Up
Part IV. Advanced Features
14. Lighting and Shaders
Materials and Shaders
Global Illumination
Thinking About Performance
Wrapping Up
15. Creating GUIs in Unity
How GUIs Work in Unity
Controls
Events and Raycasts
Using the Layout System
Scaling the Canvas
Transitioning Between Screens
Wrapping Up
16. Editor Extensions
Making a Custom Wizard
Making a Custom Editor Window
Making a Custom Property Drawer
Making a Custom Inspector
Wrapping Up
17. Beyond the Editor
The Unity Services Ecosystem
Deployment
Where to Go from Here
Index