Going further
If you are the adventurous sort, try expanding your project to add the following:
- Add a few more enemy types and integrate the enemy class into the
- Animate the enemy
- 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
- Increase the randomness of battles by making time between battles random as well
Get Mastering Unity 2D Game Development - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.