售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Unity 5.x 2D Game Development Blueprints
Unity 5.x 2D Game Development Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
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. Sprites
2D mode
Custom packages
Dealing with sprites
Importing sprites
The Sprite Renderer component
The Sprite Editor
Our character makes its first steps
Summary
2. Animations
Animating sprites
Automatic clip creation
Manual clip creation
The Animator
The game
Summary
3. Physics
2D physics
Rigid bodies
Colliders 2D
Box Collider 2D
Letting the character move
Adjusting the Platformer 2D controller
Defining a physical shape for the character
Improving the Animator
Testing the character movement
Building a cool level
Summary
4. Level Design
Tiled for 2D level design
Approaching UI
Game handler
Adding enemies
Summary
5. Creating Our Own RPG
Role-Playing Games
Getting ready
Importing the level
Slicing the sprites for our hero
Creating our hero
Dressing up our hero
Giving the power of movement to our hero
Animating the hero
Summary
6. AI and Pathfinding
Pathfinding
AStar Algorithm in Unity
A tool for Unity
Setting up the tool
Using pathfinding for enemies
Shaping our soldier
Giving intelligence to the soldier
Final notes
Summary
7. Tower Defense Basics
Tower Defense games
Getting ready
Setting up the scene and creating the map
Bullets
Creating the bullet prefab
Scripting the bullet
Towers
Creating the tower prefab
Scripting the towers
Enemies
Creating the enemy prefab
Scripting the enemies
Moving along the designed path
Detecting towers' bullets
Summary
8. User Interface for the Tower Defense Game
Getting ready
Designing the UI
Creating a lives counter
Creating and placing the lives counter
Scripting the lives counter
Implementing a money system
Creating and placing the money counter
Scripting the money counter
The tower seller
Creating and placing the tower seller
Scripting the tower seller
Finishing the tower seller
Upgrading the towers
How it works
Creating and placing the tower menu
Scripting the tower menu
Finalizing the tower menu
Summary
9. Finishing the Tower Defense Game
Getting ready
Waypoints for enemies
Getting the waypoint coordinates
Implementing waypoints in the Game Manager
Passing waypoints to the enemies
Integrating the UI into the game
Integrating the Lives Counter
Integrating the Money Counter
Placing the towers
Allowed areas
Scripting the placement script
Final tweaking of the Tower prefab
Creating an enemy spawner
Finishing the gameplay
Winning conditions
Losing conditions
Upgrading towers
Finishing the TowerScript
Final adjustments to the TowerMenuScript
Practice makes perfect
Summary
Goodbye
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜