Unreal 4.
22 z
Meet The GameDev.tv Community
Meet The Team
Ben Tristem - GameDev.tv CEO
Originally designed the course in 2015.
Gavin "TeslaDev" Milroy - Partner Instructor
Briefly with GameDev.tv in 2019.
Mike Bridges - Senior Founding Instructor
Also known for his Blender courses.
Live Google Slides at https://gdev.tv/uc2slides
Get The Most From The Course
● Do all the challenges when you see them
● Visit the Google Slides at gdev.tv/uc2slides
● Become an active community member
● Become a problem solver
● Stay positive & work hard.
Live Google Slides at https://gdev.tv/uc2slides
You Are NOT Alone
● We have a world-class community forum
● You can Talk, Show or Ask
● Use code formatting in the forum
● Include screenshot(s)
● For instant help there’s Discord chat server.
Live Google Slides at https://gdev.tv/uc2slides
Join At Least One Community
● Community forum site
● Discord live chat server
● Unreal Facebook Group
● Our Twitch channel
● Our YouTube channel
● GameDev.tv on Twitter
● All links in lecture resources.
How To Ask Good Questions
● Paste exact error text into Google first
● If you still need help, include error with code
● Make the problem reproducible
● Short as possible, long as necessary
● Answer other people’s questions.
Live Google Slides at https://gdev.tv/uc2slides
Unreal 4.22 z
Compilers & VS Community 2019
What is a Compiler?
● We want to speak "English"
● AKA a "high level language"
● The computer wants binary
● Text gets converted to binary
● This is called compilation
Live Google Slides at https://gdev.tv/uc2slides
Unreal Development Environment
Live Google Slides at https://gdev.tv/uc2slides
Live Google Slides at https://gdev.tv/uc2slides
Live Google Slides at https://gdev.tv/uc2slides
Live Google Slides at https://gdev.tv/uc2slides
Live Google Slides at https://gdev.tv/uc2slides
Install VS Community 2019
● Get VS Community 2019 installed
● Help each other in the community.
Unreal 4.22 z
Install Prerequisites On MacOS
Unreal Development Environment
Live Google Slides at https://gdev.tv/uc2slides
XCode & Epic Games Launcher
● Get Xcode installing from the App Store
● Agree to terms and conditions
● If slow broadband let it finish, else continue
● Also get Epic Games Launcher installing
● Will use it soon to get Unreal downloading
● Help each other in the community.
Unreal 4.22 z
Build Unreal From Source (Linux)
Have 70 GB+ Free
Live Google Slides at https://gdev.tv/uc2slides
Build Unreal From Source
1. sudo apt install g++ git make -y
2. git clone --single-branch --branch 4.22
https://github.com/EpicGames/UnrealEngine.git
3. Create GitHub "Personal Access Token" with "repo" access (or use SSH)
● Download Unreal source from GitHub
4. cd UnrealEngine
●
●
Run ./Setup.sh
Run ./GenerateProjectFiles.sh
5. ./Setup.sh (register Unreal file types when asked)
●
●
make UnrealEngine (will take hours)
Write-down start time
6. ./GenerateProjectFiles.sh (much faster)
● Share machine specs & build-time in forum.
7. make will take some time (add -j x to set x jobs). Have 100GB+ free.
8. cd Engine/Binaries/Linux/ then run ./UE4Editor Celebrate!
9. Vulkan warning? Update or ./UE4Editor -opengl
10. Write-down start time & share build-time & specs with community!
Unreal 4.22 z
Install Unreal Engine 4.22 (Mac & PC)
Start Unreal 4.22 Downloading
● Linux users can skip this video
● Use the Epic Games Launcher
● Download Unreal Engine 4.22.X (X doesn’t matter)
● Carry-on with the course during download
● Can resume following restart if required.
Why Are YOU Taking This Course?
● Share your hopes with your peers
● Why did you buy the course?
● What do you hope to build / learn / create?
● This isn’t going to be easy
● What’s going to keep you going?
Live Google Slides at https://gdev.tv/uc2slides
Unreal 4.22 z
Also Install Visual Studio Code
Why Also Install VS Code?
● Fast, Free and Familiar
● Supported in Unreal since 4.18
● The same on Windows, MacOS & Linux
● About 10x smaller to download
○ Please use the same drive as VS Community
● Can extend to our needs later.
Live Google Slides at https://gdev.tv/uc2slides
Install VS Code
● Get VS Code installed
● Add the Microsoft C/C++ extension
● Watch-on for tips & testing.
VS Code Survival Tips
● Preferences: Color Theme from cog or...
● View > Command Palette to access anything
● Tick File > AutoSave to save your sanity
● Compiling code is separate to running it
● VS Community or Xcode optional alternative.
Live Google Slides at https://gdev.tv/uc2slides
Extra VS Code Setup on MacOS
● For compiler to work on MacOS you’ll need to
● Launch VS Code from your terminal with code
● Make that possible like this...
Live Google Slides at https://gdev.tv/uc2slides
Unreal 4.22 z
Section Wrap-up