Bonus Features 5 - Share your Work
Tutorial
·
Beginner
·
+60XP
·
60 mins
·
Unity Technologies

In this tutorial, you can go way above and beyond what you learned in this Unit and share what you’ve made with your fellow creators.
There are four bonus features presented in this tutorial marked as Easy, Medium, Hard, and Expert. You can attempt any number of these, put your own spin on them, and then share your work!
This tutorial is entirely optional, but highly recommended for anyone wishing to take their skills to a new level.
Languages available:
1. Overview
This tutorial is entirely optional. If you are not interested in this extra challenge, simply scroll to the bottom of the page above the Submission Gallery and select "Skip submission and continue". You can still successfully complete the course without attempting any of these bonus features.
This tutorial outlines four potential bonus features for the Quick Click Prototype at varying levels of difficulty:
- Easy: Lives UI
- Medium: Music volume
- Hard: Pause menu
- Expert: Click-and-swipe
Here’s what the prototype could look like if you complete all four features:
The Easy and Medium features can probably be completed entirely with skills from this course, but the Hard and Expert features will require some additional research.
Since this is optional, you can attempt none of them, all of them, or any combination in between.
You can come up with your own original bonus features as well!
Then, at the end of this tutorial, there is an opportunity to share your work.
We highly recommend that you attempt these using relentless Googling and troubleshooting, but if you do get completely stuck, there are hints and step-by-step solutions available below.
Good luck!
2. Easy: Lives UI
Create a "Lives" UI element that counts down by 1 when an object leaves the bottom of the screen and triggers Game Over when Lives reaches 0.
3. Medium: Music volume
Add background music and a UI Slider element to adjust the volume.
Background music adds a lot of energy to a game, but not everyone likes it, so it’s good to give people the option to lower the volume.
4. Hard: Pause menu
During gameplay, allow the user to press a key to toggle between pausing and resuming the game, where a pause screen comes up while the game is paused.
5. Expert: Click-and-swipe
Program click-and-swipe functionality instead of clicking, generating a trail where the mouse has been dragged. This does make the game easier, so you might also want to increase the gameplay difficulty on all levels if you implement this.
6. Hints and solution walkthrough
Hints:
- Easy: Lives UI
- Try using a Text GameObject like we did for the score
- Medium: Music volume
- Try using the event on the Slider element
- Hard: Pause menu
- Try using Time.timeScale
- Expert: Click-and-swipe
- Camera.ScreenToWorldPoint will help convert a screen space position to world position
Solution walkthrough
If you are really stuck, download the step-by-step solution walkthrough.
Note that there are likely many ways to implement these features - this is only one suggestion.
7. Share your work
Have you implemented any of these bonus features? Have you added any new, unique features? Have you applied these new features to another project?
We would love to see what you've created!
Please take a screenshot of your project or do a screen-recording walking us through it, then post it here to share what you’ve made.
We highly recommend that you comment on at least one other creator's submission. What do you like about the project? What would be a cool new feature they might consider adding?