
Bonus Features 1 - Share your Work
Exercise
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 Driving Simulation Prototype at varying levels of difficulty:
- Easy: Obstacle Pyramids
- Medium: Oncoming vehicles
- Hard: Camera switcher
- Expert: Local multiplayer
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: Obstacle pyramids
Create stacks, piles, or pyramids of obstacles for the vehicle to drive through.
These will be more satisfying for the player to crash into compared with single objects.
3. Medium: Oncoming vehicles
Add a couple of other cars that are automatically driving down the road in the opposite direction, which the player also has to avoid.
This will make the experience much more challenging, since the player will now be forced to think quickly, rather than taking as much time as they need.
4. Hard: Camera switcher
Allow the player to press a key on the keyboard to switch camera views.
Ideally, the same key would toggle between two views, one above and behind the vehicle, and the other from the perspective of the driver’s seat.
5. Expert: Local multiplayer
Transform this into a “local multiplayer” split-screen game with two cars, where one player’s car is controlled by WASD and the other is controlled by the arrow keys.
This would add a completely new competitive dimension to the prototype.
6. Hints and solution walkthrough
Hints:
- Easy: Obstacle pyramids
- Remember to use a Rigidbody!
- Medium: Oncoming vehicles
- Try using transform.Translate to move the other vehicles.
- Hard: Camera switcher
- Add a second camera and then use a key press to enable and disable it.
- Expert: Local multiplayer
- You will need to edit the Input Manager and the Camera’s Viewport Rect Width property.
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?
Please login to submit
Complete this Tutorial
Submission Gallery
Prototype 1: The Vehicle
Drive through obstacles while avoiding oncoming vehicles. Play with another player sharing same keyboard and see who reaches the end early.
MultiDrive Project
I’ve successfully completed the challenge by turning the project into a local multiplayer game with a split-screen setup and I built a custom input system so two players can race on one keyboard using WASD and the Arrow keys I also added a camera toggle for the first player to switch between the follow-cam and an interior view. I originally wanted to make the interior view work for both players but I decided to leave that for later so I can stay focused on finishing the course first.
Prototype 1 with Bonus Features
Prototype 1 with Bonus Features
Tank Vs Boulder Rampage
Guide your tank towards the end of the road, pushing big rocks out of the way, into oncoming traffic! Toggle between camera view top down, first person, and god mode!!! Local Multiplayer COMING SOON!!!!
Local Multiplayer Car Game
This is a small game in which two players are supposed to get to the finish of the road by avoiding boxes and cars moving towards them. Local multiplayer is enabled, allowing both players to use WASD and IJKL controls to control their vehicles. Also added perspective to driver's seat change, C button for player 1, and M button for player 2.
Prototype 1 Bonus Features
Just my implementation of bonus chalanges