Select Car UI - How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 11

Опубликовано: 04 Май 2026
на канале: Pretty Fly Games
4,141
60

Download complete Unity project 👉   / code-access-car-62702711  . This is the 11th part of our 2D arcade style top down car controller in Unity from scratch. If you missed part 1 you can view it here:    • How to create a 2D Arcade Style Top Down C...  ​

In this part of the series we will cover how to add car selection in the UI with the ability to spawn (instantiate) the cars in levels. We will go through how to use scriptable objects to store the data for the cars and how to load them in an easy way from the resource folder. Scriptable object can feel a bit daunting at first but once you figure out the basics they are really useful. We'll also cover how to use image masks to hide the car sprites to make them appear that they are inside a frame.

📍 Support us on Patreon to help us make more videos like this one   / prettyflygames  

With this tutorial series you’ll be able to make a physics based race game with lots of drifting in no time. Car movement is often a challenge for a lot of developers but using simple tricks is often the best solution. If you want to try a game which uses this mechanic then feel free to take Total
Arcade Racing for a spin.

Join Our Community! We look forward to welcoming you.
Discord:   / discord  
Twitter:   / prettyflydev​  

This component is used in Total Arcade Racing which you can play on
🖥 Steam ► https://store.steampowered.com/app/12...
📺 Nintendo Switch ► https://www.nintendo.com/games/detail...
🚗 PlayStation ► https://store.playstation.com/en-us/c...
🎮Xbox ► https://www.xbox.com/en-us/games/stor...

Music: https://incompetech.com/wordpress/201...
Assets: https://www.kenney.nl/

Chapters:
00:00 Intro
00:13 What we'll cover in this tutorial
00:40 Create car UI selection
04:43 Image masks
07:03 Animations
14:55 Instantiate UI car
31:25 Scriptable objects
47:17 Select car
52:30 Spawn cars
1:00:00 UI Buttons
1:05:03 Thanks to our patreons
1:05:22 Total Arcade Racing

#PrettyFlyGames #LearnUnity #UnityTutorials #gamedev