Game Development Reference
In-Depth Information
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 ran-
dom scene
• Separate the random logic into its own manager class and try a few different pat-
terns
Search WWH ::




Custom Search