书籍简介:
If you want to build enticing projects with Unity, this book is for you. Readers who are familiar with the basics of how to create simple projects in Unity will have an easier time.
作者简介:
John P. Doran
出版时间:
2014-11-11
章节目录:
Unity Game Development Blueprints
Table of Contents
Unity Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
2D Twin-stick Shooter
Project overview
Your objectives
Prerequisites
Setting up the project
Creating our scene
Scripting 101
Implementing player movement
Shooting behavior
Creating enemies
Adding GameController to spawn enemy waves
Particle systems for enemy explosion
Adding in sound effects/music
Adding in points, score, and wave numbers
Publishing the game
Summary
Challenges
Creating GUIs
Project overview
Your objectives
Prerequisites
Project setup
The anatomy of a GUI control
ControlType
Position
Content
GUI.Button
GUI.Label
Customizing the GUI
Pausing the game
GUILayout
Restarting the game
More on the GUILayout class
Creating an Options menu
Summary
Challenges
Side-scrolling Platformer
Project overview
Your objectives
Prerequisites
Setting up the project
Tile-based level creation
Working with arrays
Creating our player
Creating collectibles
Keeping score
Singletons
Winning the game
Summary
Challenges
First Person Shooter Part 1 – Creating Exterior Environments
Project overview
Your objectives
Prerequisites
The project setup
Level design 101 – planning
Exterior environment – terrain
Beautifying the environment – adding water, trees, and grass
Creating our player
Building the atmosphere
Creating a flashlight
Walking / flashlight bobbing animation
Summary
Challenges
First Person Shooter Part 2 – Creating Interior Environments
Project overview
Your objectives
Project setup
Creating architecture overview
3D modeling software
Constructing geometry with brushes
Modular tilesets
Mix and match
Importing assets
Creating tiles
Placing tiles with grid snapping
Creating and placing props
Lightmapping quickstart
Summary
Challenges
First Person Shooter Part 3 – Implementing Gameplay and AI
Project overview
Your objectives
Setting up the project
Creating the shooting behavior
Creating an enemy
State machines 101
Enemy movement
Advanced FSMs
Damaging and killing enemies
Using controller input
Moving to other levels
Summary
Challenges
Creating Save Files in Unity
Project overview
Your objectives
Saving a high score
The PlayerPrefs class
The Set functions
The Get functions
Level editor – introduction
Lists
Level editor – adding/removing walls at runtime
Level editor – toggling editor, GUI, and selecting additional tiles
Level editor – saving/loading levels to file
FileStreams
BinaryFormatter
Summary
Challenges
Finishing Touches
Project overview
Your objectives
Setting up the build settings
Customizing your exported project via the player settings
Building an installer for Windows
Summary
Challenges
Creating GUIs Part 2 – Unity's New GUI System
Project overview
Your objectives
Project setup
Creating health bars
Adding in text
Working with buttons and anchors
Summary
Additional resources
Challenges
Index
封面图: