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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.189.186