Book Image

Mastering Unity 2D game development

By : Simon Jackson
Book Image

Mastering Unity 2D game development

By: Simon Jackson

Overview of this book

Table of Contents (21 chapters)
Mastering Unity 2D Game Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Overview
Index

Going further


If you are the adventurous sort, try expanding your project to add the following:

  • Add a coroutine to take the player home when he runs from the battle

  • Plan and add further logic to determine the probability that a player will enter the battle, either using the described zones or based on player stats

  • Add a few more enemy types and integrate the enemy class into the prefab (we will do this later but you can have a go yourself now)

  • Try putting together another battle scene and update the battle logic to pick a random scene

  • Separate the random logic into its own manager class and try a few different patterns