The Unreal Engine Game Framework: From int main() to BeginPlay
Вставка
- Опубліковано 22 тра 2024
- What happens when you start up your Unreal Engine game? This video is a guided tour of the Engine's initialization process: along the way, we'll glimpse the high-level structure of the Engine (modules, game instances, local players, and viewports) and we'll see how all the different parts of the Game Framework (game modes, game states, player controllers, and the like) fit together.
00:00 - Introduction: The game loop
01:13 - Unreal's scary initialization code
02:35 - GuardedMain and FEngineLoop
03:09 - PreInit: loading engine, project, and plugin modules (IModuleInterface, UObject)
05:17 - Init: Creating and starting the Engine (UEngine / UGameEngine)
07:34 - Engine initialization (UGameInstance, UGameViewportClient, ULocalPlayer)
09:24 - LoadMap: Reloading the world from disk (UWorld, ULevel)
11:18 - LoadMap: Bringing the world up for play (AGameModeBase, AGameStateBase, AGameSession)
14:10 - LoadMap: Logging the player into the game (APlayerController, APlayerState, UPlayer / UNetConnection)
15:54 - LoadMap: Restarting the player (APawn, APlayerStart, AController / AAIController)
18:11 - LoadMap: Routing the BeginPlay event (AWorldSettings)
18:43 - Animated callstack summary
21:55 - Base game mode classes (AGameMode, AGameState)
22:36 - Characters and Pawns (ACharacter, UCharacterMovementComponent)
24:02 - Where to specify custom subclasses
25:32 - Delegates and subsystems (UGameInstanceSubsystem, UWorldSubsystem)
26:42 - Conclusion
Patreon: / alexforsythe
Twitter: / alexforsythe
#UnrealEngine #UE4 #programming
This video must be protected at all costs!
Yup!
Bro... I've been following your project for a while now (years) and every time I find a nugget of Gold, you have always been here first. I would pay you money to get your learning links!
My GOODNESS! Been using UE4 for 5 years and this might be the best video I've seen on the core of how the engine works. A+
I'm just watching this for fun at this point. The attention to detail the quality. I've i think never seen such a good programming video ever. I'm programming now for about 10 years.
I absolutely love your method of explaining Unreal concepts. Short, concise, no "HEY IT'S YA BOI" nonsense that makes me immediately look for another video. Just straightforward and professional. It's a breath of fresh air.
I really think Epic needs to promote/support/sponsor/hire you to do videos for them. Like Unity did with Brakeys. These are the most in-depth and clearest videos I have seen on UE4 ever. UE4 lacks a lot of good in depth tutorials and videos. Glad you are filling that gap!
y e s
yeah . we need more educational stuff like this
Agree 😂
He used to be an engineer @ Epic Games
2 years later this is still true! Would love for him to do a UE5 series sponsored by Epic
This is the best Unreal programming related video ever made, and is still valid in the era of UE5.
Alex, I hope you return to making Unreal Engine videos like this someday. They truly have changed the trajectory of my career (Student currently). For some people, videos like these make the difference between being overwhelmed by the mountain of knowledge needed for game dev and finding your footing and gradually being able to scale that mountain with confidence. You gave me that and I am sincerely grateful. Thank you.
This is the masterpiece that all other Unreal videos should be judged against. Flawless. Thank you for creating this!
It's criminal how few views this video has so far. I want to come back in six months and see at least 10k. Epic should promote your videos.
And they did :)
And it hit 10k.
now it does have 10k and its been only a month :)
If you want views and subs on YT, give them cats, farts or some top ten crap. That's the nature of YT and society as a whole in general, unfortunately.
Having spent the past 7-8 years in Unreal Engine 4 - I can say without a doubt, this is the best piece of educational content I have seen for the engine (Sorry Mathew, I still love you!). Keep up the great work!
Mathew’s videos are good to get a grasp on blueprints. This guy has been working in unreal engine since early days of the commercial engine. So he knows, and he is a really good software engineer.
This is fantastic! Super thorough and well visualized so all these dense concepts are easy to follow along with. A+ this demystifies a lot of the code flow that is difficult to figure out for newbies. (I'll add this video to my written gameplay framework guide, which isn't nearly as detailed as this)
Thanks for the shout-out!
I love to see a legend recognize another legend.
When Tom comments a video, you know you done something right :P
This is one of the rarest video of UE. When dealing with huge source repo like UE you actually need this kind of video to understand overall picture of why things are the way it is. This definitely gives lot of confidence if you plan to update engine. Unfortunately the guy seems busy with other stuff as his channel seems inactive from about an year.
This is a class that has to be presented to game engine developers when they get hired by epic.
This is exactly the kind of video that's just not found anywhere else. It's straight to the point and no irrelevant tangents trying to cram in a C++ tutorial. Whenever I hear "For those that don't already know..." in a video, it's a cue to scrub ahead until I get to the actual *point* of the video and it drives me crazy. Thank you for being respectful of our time.
Alex, I've been watching a ton of your videos the past 6 months or so as I've been learning Unreal for my own projects, and I wanted to share that I just got my first professional job in game dev, in part due to the projects I've built in Unreal. So, thanks for all the help in that process. I've still got a long ways to go in learning, but getting my foot in the door here will allow me to genuinely make a career out of game dev! I'm super excited for the future.
This video is so underrated. Your channel should receive Epic MegaGrants.
A bit sad that I only discovered this series when it has been long finished Desevers so much more love. Hands down the best high level unreal tutorials I have ever come across.
I've been using UE4 for three years and this video cleared up so much, I can't believe I didn't find something like this sooner. Very thorough, and incredibly high-quality walkthrough of the game loop. Hats off to you!
Hi from the Unreal Engine CIS community, thanks for your hard work, it very helpful!
A month ago, I started creating a game only based on C++, no blueprints, and this goal led me to watch (for now) nearly 50 videos about UE4. But man, this video's the only one who needs to be watched before starting anything else. That's the entry point of the universe. The framework is really well explained and detailed, and it helped me to get a different approach about my game conception.
I have stumbled on this tutorial almost by accident, but it's like discovering a tiny shiny diamond in a wild and inextricable maze.
Way so underrated! This deserves more views
This is pure gold. This SHOULD be promoted
Top-tier video, thank you very much!
Working with Unreal for about 8 years now and did not found anything new for myself, but it really helps to structurize the overall engine flow!
I'd wish I saw it back then when I just started xD
You are a major component of why the human species will progress
An absolutely excellent breakdown of Unreal. Well done, man. Can't tell you how much new people to Unreal benefit from these types of videos.
The analogy about how ancient codebases start up and the big bang is a kind of a transcendent realisation, to me at least.
Great stuff.
You sir have put my videos to shame. Excellent work!
Dont be so harsh on yourself. I am learning a lot from your videos as well. Both of you are fantastic
This is by far the best overview of UE4 internals that has ever been done! I never would have found this if it hadn't shown up on Epics site. Thank You!
It felt like I was hired by Epic and you were on boarding me... Thanks so much!
This guy knows his shit. Mindblowingly thorough and accurate.
This is probably the best video I've ever seen about the UE framework and I've looked at hundreds. Epic should use this as a primer for new users and include it in the docs.
incredibly good visualizations! amazing work!
I've been looking for this for several years, thank you
Simply amazingly put together. Many thanks for that hard work!
Hands down the MOST INFORMATIVE video on UE.
Absolutely incredible video, amazingly well done!
Incredible explanation. This is really fantastic work!
Amazing, in-depth material with great presentation. Thank you!
Outstanding quality, extremely helpful! Thanks a lot for this!
This channel is a real hidden gem. It's great exposure for someone like me who just started studying software engineering.
From a software engineer's point of view who recently started studying UE and game making, I'd say your videos are one of the best out there. I really think UE should hire people like you to create solid documentation and educational videos that touch these topics with the needed depth.
Your presentation skill is remarkable.
absolutely astounding quality. thank you
that's really good description for the programming (engineering) in a nutshell : you just woke up 1 frame after the big bang and you first need to define yourself as something while there's not even a term "something" and a word "define".
Awesome work mate! Very comprehensive! Thank you!!
Incredible video. It's unbelievable how useful it is.
Thank you so much for providing such a high quality course!
I’ve needed this! I’ve been banging my head against a wall not understanding how the engine was designed, now it’s all making sense!
I can't give this video enough thumbs-up! Well presented and compact.
Thank you for this detailed rundown!
Wow! This is absolutely amazing!
This is the best video on Unreal Engine architecture available out there bar none.
This is a MUST-WATCH.
incredible work. incredible. just massive
This is phenomenally well explained, the graphics and sequence of topics flowed in a way that made this enoyable to digest. Nice work!
What an absolute treasure of a video... Thank you for making it!
This is the best piece of UE content I've ever seen. Thank you.
This was an amazing video! The visuals made it really pedagogical and thorough, helped me crack a difficult problem!
Unbelievable work! So informative and detailed. I was so amazed to see such a good presentation with such flawless animations and simplicity.
Fantastic video!
Very well made!
I've watched so many programming videos and this is by far one of the best.
Sir, your videos are by far the most well made and well explained on youtube. Thank you for taking the time to make those.
Hoooly, this is a very well put together video! Thank you! This should be featured in the official UE docs :)
Best video I've found on Unreal engine by a long shot. Hats off to you, brother.
Criminally underrated channel for how incredible your explanation and video production is
Not a single dislike on this video! So informative.
This is so helpful! Thank you!! 👏🏻👏🏻👏🏻
As always, amazing content Alex. Love how you use those animations to accompany the verbal message. Super informative and very inspiring to watch and listen to. I've been trying to wrap my head around how the engine boots up for quite a while and never fully managed to keep focus to understand how it ever reached BeginPlay. I will for sure be rewatching this video a few times, but damn good job at explaining it from start to end.
From somebody who learned this on his own: This video is the best entry point if you want unreal from scratch!
Wow this reduces anxiety. So soothing!
It's so beautifully presented and so detailed and accurate, it's easily one of the best video's on Unreal ever made.
This is amazing. I'm absolutely blown away. This makes me feel like I know nothing about Unreal. Thanks for putting in the effort to making this.
This has to be the single most useful Unreal Engine video on UA-cam. Nothing else I can say really, amazing work!
Perfect explanation for engine starter!
This was great! Made me understand why things work as they do in UE, thank you!
Amazing work. Thanks for your effort and congrats for such high quality content. 👏👏👏👏👏
Best video ever on what happens under the hood, great work man.
Amazing video! Thanks for all the efforts!
Brilliant video! Thanks so much for doing such a detailed overview
This is such a good explanation that from a laymen to an expert could get value from it.
the pace is freaking high but the explanation itself is very useful. Thank you!
Thanks for sharing this!! Incredible how this video shows the core of Unreal engine about the c++ framework. Applauses
Nice video! Thanks for all the effort to put this together
I love this! Thank you very much for such a comprehensive detailed explanation!
You are an amazing teacher/coder/designer
this is the info I've been seeking to orient myself before making the plunge into some unreal fun.
top notch job!
Stellar work here, and eminently useful. Bravo sir!
Awesome work! This might be the most important video about the UnrealEngine I've ever seen so far. I always had an idea about what happened when, but to actually run down the command chain to see what object is available at what time is priceless knowledge. Thank you very much to present this complex topic in that easily comprehensible way!
Why did I not find you all these years !!! Class Apart content
Gotta say this one of the (if not the) best programming breakdowns I've ever seen, really excellent work. A shame it seems you've stopped making videos, this is brilliant.
man....you're videos are an absolute joy to watch! Brilliant. Really gives me a boost and makes me want to become a really competent developer and not fear seemingly complicated challenges, your visual representations are very effective. Thank You.
Clear and precise explanation. One needs to know well to deliver that good. Great tutorial👍
Absolutely amazing content. Great depth and visualization. I wanted to dive in and research UE4 myself but quickly discovered myself lost under the mass of code. Really looking forward for the next part :)
Love these videos. They are super useful. Thanks!
Amazing explanation. Hats off to you sir, Keep it up, would love to have more such videos from you.
Absolutely STUNNING! Thank you so much. I wish there were more videos on advanced topics for the UE. You really deserve a MegaGrant (or should apply for it)
Very crisp and concise explanation of the basics how UE4 works under the hood. Thank you so much! Subscribed.
the best video about UE architecture, I saw.
This video is not just good at explaining how Unreal Engine works but also how cpp programs in general do. Super helpful!
Thank you so much for making this video, it is fantastically well done.
Another essentials reference video to bookmark and re-watch later.
Your videos are beginning to creepily occupy all my Unreal bookmarks.
At this time my worry is that there are too little of them.
Thanks again.