Welcome to Mr Wonder How! In this tutorial, we’ll build a Unity Project tutorial about 2D racing game from scratch using Unity. This step-by-step guide covers car movement, physics, camera follow, lap system, AI opponent, and more!
What You’ll Learn:
Setting up a 2D Racing Track & Car
Implementing realistic car movement with Rigidbody2D
Making the camera follow the car smoothly
Adding a Lap System & UI for speed tracking
Creating a simple AI opponent (optional)
Setting up a Finish Line & Win Condition
Key moments
00:00 Introduction
00:35 Create unity project
00:46 Create track and car
01:45 Add car components
02:15 Create car controller script
05:30 Create Following camera script
07:15 Add UI for Speed and Laps count
09:11 Add AI car
10:15 Create AIController script.
13:38 Make End game UI
15:40 Final result
Source Code & Assets: patreon.com/MrWonderHow
If you found this helpful, LIKE, SUBSCRIBE, and COMMENT for more awesome Unity tutorials!
Background music:
================
Music: Exciting Corporate by ElevateMusica
Video Link: https://bit.ly/3vNMGrF
================
Sound Effect:
karlosdearma from Pixabay
#Unity #GameDevelopment #RacingGame #IndieDev #MrWonderHow
Voir sur youtube