How To Make A Key and Door System in Unreal Engine 5

  Рет қаралды 11,650

Virtus Learning Hub

Virtus Learning Hub

Күн бұрын

In this video, we show you how you can create a collectible key that is required to open a door using blueprints in Unreal Engine 5. Additionally, we also introduce you to timelines and how they can be used to animate our door so it opens.
If there's other game mechanics you'd like to see us recreate, be sure to let us know in the comments!
Build a game in 1 week - www.virtushub.com/p/learning
Master the foundations of UE5 in 7 days - virtushub.com/p/learn-unreal-...
Join the Virtus Discord: / discord
0:00 - Intro
0:45 - Make a Game in 1 Week
0:58 - Door Blueprint
6:03 - Key Blueprint
10:06 - Key Pickup
12:21 - Timeline Animations
14:55 - Key & Door System
19:24 - Outro
Virtus Creative Hub // Media
● Website - www.virtushub.com
● Facebook Page - / virtushub
● Twitter Page - / virtushub
#unrealengine #unrealengine5 #blueprints

Пікірлер: 31
@malikumair860
@malikumair860 8 ай бұрын
Hi sir I am learning many things from you thanks for your efforts.
@ihebKirikachi
@ihebKirikachi Жыл бұрын
thanks !!
@allesklarc4835
@allesklarc4835 Жыл бұрын
Thank you very great !! Im from Austria
@VirtusEdu
@VirtusEdu Жыл бұрын
Thank you!
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey everyone, learn how to build a key and door system in Unreal Engine using blueprints. Let us know what game mechanic you'd like to see us recreate next!
@francislugo6749
@francislugo6749 Жыл бұрын
Hi, I hope you doing well. I would like to see color matching minigame. I have dynamic color material that uses a track and cannot create a mechanic to match it with a character of specific color.
@malikumair860
@malikumair860 8 ай бұрын
Will you make tutorial on unity?
@Scairp
@Scairp 7 ай бұрын
Hello, please tell me how to stage a cut-scene, mp4, open the door with a key or insert an object and the lock will open like in resident evil.
@sergiosperb821
@sergiosperb821 4 ай бұрын
I don't know why, but I was unable to walk though the door, even with the door unlocked, so I had to set the collision of the door frame to "No Collision". Excellent tutorial!
@hiagooliveira6510
@hiagooliveira6510 Жыл бұрын
Hi Luke, thanks for the tutorial! As a challenge to myself I tried implementing this from scratch before watching your video and then comparing the results. I'm happy that I did it almost the same way you did! One little difference was that instead of keeping track in a variable of whether or not the character has the key, I decided to use actor tags. So on the key overlap event I add tag of "KeyForDoor1" to the interacting actor for example, and on the door I check if the actor has that tag on him. If true I open the door and remove the key. I did it this way because it gives us the flexibility of having different keys and different doors without having to add one variable for each different door, specially if I add configure the tags in a uproperty. Would you say this is a good solution, to use tags for such a system, or is there another better practice I am not aware of? Sorry if this is a silly question, I have just started this new hobby!
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey Hiago, this is a really good way to learn. In terms of your solution, that's defintely a way to do it. I would say your solution is more scalable. In an ideal world we'd have an inventory system but your solution is great. Keep up the good work!
@kefir_games_original
@kefir_games_original 9 ай бұрын
How can i make a functionality of that the play can grab multiple amount of keys at the same time?
@serizawareda7831
@serizawareda7831 3 ай бұрын
hi do you think it is possible to update this tutorial and make an ID key system ? like an array in our character variables that can collects our keys and when we got a key in our lvl and try to open a door, it will check if we have the right IDKey ?
@nightshroud1310
@nightshroud1310 Жыл бұрын
Hello, i would like to know if it in possible to create more maps, and male them interact and make them move as if it were a puzzle game
@tsiqz2891
@tsiqz2891 Жыл бұрын
Hi are you going to do a tutorial on a endless runner on ue5?
@toxicinc763
@toxicinc763 Жыл бұрын
Can you please help me with Buying and select system using blueprints 😢
@lauren8752
@lauren8752 Жыл бұрын
how would u do this for multiple doors and keys? cos when adding the same door blueprint it uses the same 1 key to open them all and i dont want that, thanks in advance :)
@trabbypatty7554
@trabbypatty7554 Жыл бұрын
Great video, helped me out a lot! Although for some reason when the door opens with the key, it won't let my character go through... might've messed up on something with the collisions?
@VirtusEdu
@VirtusEdu Жыл бұрын
Turn on collision view in the viewport to see if your collisions are covering the door when it opens, that'll help you narrow down the problem
@ItzTree
@ItzTree Жыл бұрын
I have a blueprint system set up so that when i walk into the collision box on the key i press E to pick it up so I don't want it to dissapear when I walk over it. Do I still cast it to the character blueprint?? I'm so confused
@omaralhaj9894
@omaralhaj9894 Жыл бұрын
please please make a crafting menu tutorial and a inventory with hotbat tutorial.
@martem000
@martem000 Жыл бұрын
Thank you! I would like to know how to properly add the condition that when I am in the collision door, pressing the F key will open if I have the key
@VirtusEdu
@VirtusEdu Жыл бұрын
When F is pressed you could get the distance between the player and the door, and then branch checking if the player is within whatever distance you want and the Has Key bool is set to true.
@martem000
@martem000 Жыл бұрын
@@VirtusEduthank you! 😊
@Alpatrixx
@Alpatrixx Жыл бұрын
Maybe make a video on how to make a lockpicking minigame? (kinda like skyrim)
@VirtusEdu
@VirtusEdu Жыл бұрын
Sounds cool!
@InfiniteBeyondFiji
@InfiniteBeyondFiji 4 ай бұрын
Hey whats up creators? Oh nothing much just me subbing to your channel ahahha
@TunedFM
@TunedFM Жыл бұрын
Hello, I’m new here and wanted to request a tutorial I can’t find anywhere. I’m searching a way to crave/mask blueprint texts into static mesh’s parent inside own blueprint. I only found ways to mask boxes or spheres but not font silhouettes or other texture shapes. Hope you could help.
@VirtusEdu
@VirtusEdu Жыл бұрын
Gonna need some more clarification on this, if you join our Discord server then our team will be able to help you with this problem further
@HotGarbageAlready
@HotGarbageAlready Жыл бұрын
What about team 1 gets a key that opens only that door. and team 2 gets a key that opens only a different one. Like I have 24 teams. Each team has a key but it only opens there home. For Fortnite. and only that team can get the key associated with there team. and only one person per team.
@Gta5Tutorial633
@Gta5Tutorial633 8 ай бұрын
4.25.3
Open Doors With A Password In Unreal Engine 5 Using Blueprints
20:43
Unreal ART With Alireza
Рет қаралды 8 М.
skibidi toilet 73 (part 2)
04:15
DaFuq!?Boom!
Рет қаралды 32 МЛН
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 5 МЛН
How to Make a Physics Door in Unreal Engine 5
7:42
Gorka Games
Рет қаралды 17 М.
How to Make a Checkpoint in Unreal Engine 5
9:13
Gorka Games
Рет қаралды 16 М.
Adding Movement via Interp to Movement UE5
3:30
Heath Clif
Рет қаралды 2,1 М.
I Struggled With Blueprint Interfaces for Years!! (Unreal Engine 5)
16:48
Glass Hand Studios
Рет қаралды 165 М.
Casting Explained | Unreal Engine 5 Tutorial
11:14
Tyler Serino
Рет қаралды 24 М.
HOW TO CREATE A SLIDING DOOR IN UNREAL ENGINE 5 USING BLUEPRINTS
7:14
Unreal ART With Alireza
Рет қаралды 18 М.
Smooth CROUCHING in UNREAL ENGINE 5
5:44
Buvesa Game Development
Рет қаралды 22 М.
How to Make a Simple Respawn System in Unreal Engine 5
8:42
Gorka Games
Рет қаралды 35 М.