How to Create a Car Racing Game in Unreal Engine 5 - UE5 Beginner Tutorial

preview_player
Показать описание


How to create a car racing game in Unreal Engine 5? In this tutorial you will learn how to create a racing game using only Blueprints. You will learn how to setup your car in UE5 and create a Time Attack game.

Questions? Let us know in the comments!

-------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------
Connect with us here:

-------------------------------------------------------------------------------------------------------------
Get in contact with us here!
-------------------------------------------------------------------------------------------------------------

*By making a purchase through any of our affiliate links, we receive a very small commission at no extra cost to you. This helps us on our mission to provide quality education to you. Thank you.

Licensed under Creative Commons BY Attribution 4.0

Timestamps:
00:00:00 Support us :D
00:00:11 Introduction
00:01:25 Project Creation
00:02:27 What is a game?
00:03:18 Defining our game
00:03:58 Setting the rules of the game
00:16:05 Create a checkpoint
00:40:41 Driving mechanics
01:02:37 Timed Checkpoints
01:15:10 HUD
01:33:21 Animation when time is added
01:41:50 Trigger the time added animation
01:48:27 Change the level materials
02:03:56 Create tools to decorate the map faster
02:40:29 Create a spline base solution for the curves of the track
02:56:02 Adding and decorating the checkpoints
03:05:49 Using the foliage tool to add tree trunks
03:13:52 Using the foliage tool to add trees
03:25:45 Working with decals
03:39:43 Physics actors to increase the difficulty of the game
03:51:22 Adding the car engine sound
04:08:31 Adding a car brake sound
04:22:57 Adding car crash sounds
04:34:40 Add Camera Shakes when the car crashes
04:45:25 Polishing the checkpoints with SFX and validations
04:56:43 Changing the way the game start using the level blueprint
05:01:22 Changing the way the game ends
05:07:09 Using sequencer to enhance the game win
05:16:29 Win game user interface
05:28:49 Lose game interface and sequence
05:37:01 Creating an executable file by packaging the project
05:49:08 Common problem when you package the game for the first time
05:51:22 Finish the packaging
05:55:34 Fixing the asphalt material and Conclusions

Thumbnail Image from Porsche
Рекомендации по теме
Комментарии
Автор

Time for another game Tutorial! 💥

This time we will create a racing game from scratch. You will learn how to create a complete Game flow and increase your Blueprints knowledge!




Got any idea for a tutorial? Let us know in the comments below! 👇

unfgames
Автор

Thank you so much for not just going thru the motions but also clearly explaining everything! Great tutorial and well worth my time😁

sqoix
Автор

I have been wanting to sit down and learn UE for a long time (months) specifically because I have an idea for a racing game I want to prototype and maybe develop, but finding a good tutorial online has been crazy difficult. This is absolutely amazing. I'm only through the first bit (its past midnight my time) but mad props for the amazing work.

TheBulletTrain
Автор

3:09 Best definition of a game I have seen. It's always important to understand something at it's most basic level before complicating it.

vistisfilm
Автор

Well. Now I can officially name your channel as the best channel for learning Unreal Engine

ORTyOW
Автор

Some of you might notice the logs are not showing up: It's because it's choosing to run World Override. Simply choose blueprints menu > World Override > Select GameModeBase Class > None.

bernhardriemann
Автор

Sounds awesome! I’m still doing your live action dungeon crawler course!
Finally I understand Unreal thanks to you guys! 👌🏻👌🏻👍

jomesias
Автор

Great tutorial thanks for your efforts just wanted to mention something about events and function everything gets called in the same frame on my knowledge that's why there's gpu time and cpu time if the logic in the blueprint takes too long it will block the next frame. Everything else is great. Keep up the good work.🔥

anwartech
Автор

Dude i love this video, thanks for your sharing and good presentation.

RandVideo
Автор

This video was amazing. The way that you Explain every little detail is exactly what someone like me with ADHD needs.

Wofgohan
Автор

An amazing resource, somehow provided to me for free. You are a blessing. Thank you!

wsteand
Автор

Yo dude!! Having finally completed this project after watching bits of it over a couple of weeks i just had to take the time to say thanks for the AMAZING tutorial... well paced and effecting and full of important info, this is some of the best unreal teaching content available and I'm ecstatic to have finally started working towards on of my major goals in life... keep up the great work mate! peace

gaarafam
Автор

Quite a pleasant surprise!
I've been toying around with a racing game myself in UE5 recently, using Chaos Vehicles (CV) and Lyra as a base (menus and graphic settings, plus maybe the 3rd P character to walk from car to car in freeplay). I have paused the project for the past couple of months to catch up on work, so i don't know if CV got updated but i'm assuming it hasn't. As it is now, CV does not allow for drifting, i was digging a while ago and found out that the simulation dictates the engine RPM through the wheel rotation, so as soon as your wheels leave the ground or you start a drift, the friction slows down the tyres, then the engine RPM stopping the drift and slowing down the car.
There is a metric ton of features missing from chaos engine, such as a proper engine simulation, clutch simulation, steering wheel force feedback, analogue handbrake (currently is 0 or 1), camber and caster for wheels, self aligning forces for steering and many more (add that almost none of the values or parameters are explained in the tooltips under CV wheel components, like longitudinal and lateral friction forces: are those values in N? random numbers? who knows).
I've talked about this with some other people that make games and the common answer was to try and branch CV and edit it's source code to add the necessary simulations. Sadly unreal's documentation is almost non-existent so it would be interesting to see a tutorial on how to do that, it might be useful for many more devs that are tackling UE and need this kind of info. I'm a 3D artist myself and i work with unreal but my coding knowledge stops at basic blueprinting and some C++ i can read - but not write really - since the last time i used it was 10 years ago in high school.
See in (line 829 iirc), i can't understand yet exactly how this code works but my suspicion is that this is one of the key reasons why the chaos vehicles can't drift.
If you want to take a look at that, i'd be curious to hear what you think about it, in the meantime i'm saving some cash myself to hire a programmer to help me with sorting out this issue and figure out if CV is a valid starting point for some sort of a sim-cade racing game (see forza horizon) or if it's better to build the vehicle simulation from the ground up. If during my project i end up solving some issues of CV and/or expanding it's functionalities, i'd be happy to share the code for that but i doubt that's going to happen anytime soon.
I'll be waiting to see what you guys have cooked up for this tutorial, keep up the good work!

WHOOLKAN
Автор

I'm very new to unreal engine 5. (Downloaded it yesterday) so I don't know literally anything in this.. should help

suryakamalnd
Автор

Very nice tutorial. Do you have a tutorial on how to change the look of the car/asset into something else?

DRamenArt
Автор

so far I watched 40 minutes of the video and I have to say that I really like the presentation and execution so far
the zoom-in on some things so it's easier to see what and where you're doing (like the instance editable), the slow and proper explanation so people have time to digest it
the explanations in general... well done

RyouTheMad
Автор

in one update you will need tup remove the MPH node if it gets an error it still works the same way you just need to remove MPH

djkt
Автор

I just released a demo of my racing game but I've been procrastinating all the BP part... this tutorial arrives at the perfect moment! I just finished to watch it entirely and it's extremely well explained and it goes in details, well done! Amazing work!
I just have a question: why you need to reset the sound? Isn't easier to trigger the sound only if you go faster than a specific speed? That would resolve the issue of multiple hits and it would be more realistic.

OverJumpRally
Автор

Tbf, I was too distracted by that FIRE Background you got there!

Where you got it from, if you don´t mind me asking?

paulrivieras
Автор

I wanted to take a moment to express my deepest gratitude to UNF-Games. Your YouTube channel has been an invaluable resource on my journey to mastering Unreal Engine. From your insightful tutorials to your clear explanations, you've empowered me to explore my creativity and develop my skills in game development. Your dedication to sharing knowledge and passion for Unreal Engine has made a significant impact on my learning experience. Thank you for being such an inspiring and supportive community. I am truly grateful for all that you do.

bigpapatchala