Week 1: Player Control - May 17 - 21
Tutorial
·
Beginner
·
+0XP
·
140 mins
·
Unity Technologies

Join us Mondays and Thursdays at 9:00am PT by registering here.
This week, you will program a car moving side-to-side on a floating road, trying to avoid (or hit) obstacles in the way. In addition to becoming familiar with the Unity editor and workflow, you will learn how to create new C# scripts and do some simple programming. By the end of the week, you will be able to call basic functions, then declare and tweak new variables to modify the results of those functions.
Languages available:
1. Before you begin
To participate in this session and follow along, you need:
- Unity 2020.3 (LTS) installed through the Unity Hub
2. Week 1 Content
This week, you will complete Unit 1 from Create with Code, where you will learn the fundamentals of implementing Player as you create a third-person driving simulator game.
After the live session on Monday, May 17 when we kick off the project together, use the links below to continue working through the Unit independently.
Essential content
- 1.1 - Start your 3D Engines
- You will have a vehicle and obstacle positioned on the road and the camera set up perfectly behind the vehicle. You will also have a new custom Unity layout, perfectly optimized for editing.
- 1.2 - Pedal to the Metal
- You will have a moving vehicle with its own C# script and a road full of objects, all of which may collide with each other using physics components.
- 1.3 - High Speed Chase
- The camera will follow the vehicle down the road through the scene, allowing the player to see where it’s going.
- 1.4 - Step into the Driver's Seat
- When the player presses the up/down arrows, the vehicle will move forward and backward. When the player presses the left/right arrows, the vehicle will turn.
Optional content
- Unit 1 Challenge - Plane Programming
- Use the skills you learned in the driving simulation to fly a plane around obstacles in the sky.
- Unit 1 Quiz
- Assess your knowledge of the skills and concepts learned in Unit 1.
- Unit 1 Bonus Features
Note - this will tell you to submit in the bonus features. BUT you should also submit it to this Live Session so we can see your work!!- Easy: Obstacle Pyramids
- Medium: Oncoming vehicle
- Hard: Camera switcher
- Expert: Local multiplayer
Jr Programmer Content
3. Live Session - Monday May 17th - Thursday, May 20
May 17th, 2021 Live Recording:
May 20th Live Session Recording:
May 21st Power Up Session Recording:
4. Share your Modified Challenge or Prototype
If you went above and beyond and modified the challenge or prototype from this week, take a screenshot or screen-recording and post it here to share what you made! To upload your project online as a WebGL build so others can play it, you can:
- Follow the instructions to build your project for WebGL.
- Share a link in your submission description below so other people know where to find it.
Please also share any "behind-the-scenes" info about how you made your project!