售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜