Bonus Features 1 - Share your Work

Exercise

Beginner

+60XP

60 mins

Unity Technologies

Bonus Features 1 - Share your Work

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.

Optional Step

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

budget subway surfers

budget subway surfers

Quick demo of a scuffed driving simulator with various movable obstacles and randomly spawning enemy buses.

P
pomy97
4
0
Driving

Driving

I tried to implement camera switching in my own way, using one camera with its position shifted by a given distance.

L
ln742370
10
0
Car Crash V1

Car Crash V1

The project features local gameplay in which the player controls a truck in a 3D environment and interacts with various objects and obstacles. The controls are combined with a camera switching system (Switch Cameras), which allows the player to change between different viewpoints during gameplay. This provides better visibility, more convenient control, and a more realistic driving and collision experience.

R
rumen1910_unity
12
0
Blind Corners: Roadblock Rush

Blind Corners: Roadblock Rush

Two drivers. One maze. Zero visibility. In Blind Corners: Roadblock Rush, you and a friend go head-to-head in a chaotic driving showdown where not everything is what it seems. Hidden roadblocks and mystery crates keep sections of the map unpredictable, turning every turn into a gamble. Is that path clear… or are you about to full-send into a dead end? Switch between camera angles to scout, outplay, and outmaneuver your opponent in real time. Quick thinking, sharp instincts, and a little bit of luck will decide who dominates the streets. Controls: Player 1: WASD to drive, F to switch camera Player 2: Arrow keys to drive, Right Shift to switch camera

D
docilepenguins
8
0
Too Many Crates!

Too Many Crates!

The title is self-explanitory.

Z
Zxthecoolguy
14
0
Car Tutorial

Car Tutorial

Prototype 01 with all extra assingments done

K
Kristijan
10
0