更新时间:2021-08-05 17:29:28
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. 2D Twin-stick Shooter
Project overview
Setting up the project
Creating our scene
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
Chapter 2. Creating GUIs
Project setup
Customizing the GUI
Pausing the game
Restarting the game
Creating an Options menu
Chapter 3. Side-scrolling Platformer
Tile-based level creation
Creating our player
Creating collectibles
Keeping score
Winning the game
Chapter 4. First Person Shooter Part 1 – Creating Exterior Environments
The project setup
Exterior environment – terrain
Beautifying the environment – adding water trees and grass
Building the atmosphere
Creating a flashlight
Walking / flashlight bobbing animation
Chapter 5. First Person Shooter Part 2 – Creating Interior Environments
Importing assets
Creating tiles
Placing tiles with grid snapping
Creating and placing props
Lightmapping quickstart
Chapter 6. First Person Shooter Part 3 – Implementing Gameplay and AI
Creating the shooting behavior
Creating an enemy
Enemy movement
Damaging and killing enemies
Using controller input
Moving to other levels
Chapter 7. Creating Save Files in Unity
Saving a high score
Level editor – introduction
Level editor – adding/removing walls at runtime
Level editor – toggling editor GUI and selecting additional tiles
Level editor – saving/loading levels to file
Chapter 8. Finishing Touches
Setting up the build settings
Customizing your exported project via the player settings
Building an installer for Windows
Chapter 9. Creating GUIs Part 2 – Unity's New GUI System
Creating health bars
Adding in text