Unreal Engine is a popular and widely used game engine developed by Epic Games. Many AAA modern games such as Fortnite, Rocket League, and Star Wars Jedi: Fallen Order were made with this game engine. Very big game studios, whose name we hear often, use the Unreal Engine game engine. In addition, not only the gaming industry but also the architecture and cinema industry often benefit from the graphics power of Unreal Engine.
Unreal Engine 5 was announced a while ago. However, this version is currently in the trial phase. That’s why we’ll be using the Unreal Engine 4.27.0 version in our examples in this guide.
Read: Game Development Fundamentals.
Why Develop Games in Unreal Engine?
With Unreal Engine, you can develop projects for many environments, including PC, PlayStation, XBox, Nintendo Switch, iOS, and Android. Unreal Engine is used a lot in the gaming industry as it provides flexibility to work between different platforms.
At the same time, thanks to the Blueprint Visual Scripting system, you can develop games without even writing a single line of code. However, more experienced developers generally prefer the C++ language. Unreal Engine, where you can develop games with two different systems, also comes to the fore with this feature.
Incorporating powerful capabilities for complex scenes and effects, Unreal Engine is a great game engine for artists. Using all these features can be daunting at first glance. However, you can master this game engine in a short time by changing the parameters until you find what you are looking for.
Besides all these features, Unreal Engine has a huge community. Unreal Engine developers love to support each other. You can find answers to your questions by joining these communities. At the same time, the documentation on Unreal Engine’s own official website has been prepared in great detail. It has a great resource where you can find answers to most of the questions you might encounter when developing or creating video games.
Of course, most importantly, you can have all of these for free. The biggest advantage of Unreal Engine is that it is completely free to use. Whether you’re a hobby game developer or own a great AAA game development studio, Unreal Engine won’t charge you anything. Instead, they only charge 5% of your earnings from your games.
Unreal Engine also has great tools that make building for virtual or augmented reality super easy. VR technology has improved a lot in recent years. Therefore, you can easily produce content for platforms like Oculus Rift and HTC Vive.
Unreal Engine uses the widely accepted PBR (Physically based rendering) workflow for material and rendering capabilities. In this way, you can create photorealistic views in real-time. In addition, realism can be kept at the highest level with Raytracing technology.
Now that we have learned a little about the amazing powers of Unreal Engine, let’s enter the powerful world of video game programming together.
How to Install Unreal Engine
Unreal Engine has some specific hardware and software requirements. First, let’s take a look at what these system requirements are.
Recommended Software and Hardware Requirements
Below are some software and hardware requirements for installing Unreal Game Engine:
- Operating System: Windows 10 (64 bit)
- Processor: Quad-core Intel/AMD, 2.5 GHz or Faster
- Memory: 8 GB RAM
- Graphic: DirectX 11 or 12 compatible graphics card
These are some of the hardware features you will need to start the engine. In order to develop games with Unreal Engine, you also need to have some software features, including:
- If you will be programming games with Unreal Engine 4, Visual Studio 2015 is, unfortunately, no longer supported.
- You need to use Visual Studio 2017 v15.6 and above or Visual Studio 2019.
- If you plan to code games for the iOS operating system, iTunes 12 or higher will be sufficient.
Unreal Engine is installed with various DirectX components and Visual C++ packages. When you install Unreal Engine through the Epic Games Launcher, the Launcher automatically installs these necessary packages for you.
Now we can proceed to the installation process.
Installing with Epic Games Launcher
Epic Games Launcher is a great tool for downloading and installing games, assets, and the Unreal Engine game engine from the Epic Store.
To install this Launcher you need to follow the steps below:
- Go to Unreal Engine’s Official Download page.
- Here you will see two different license options. Here’s what they mean:
- Publishing License: If you want to make games, this license is for you.
- Creators License: Unreal Engine is not just used for game development. It is used extensively in the fields of cinema, architecture, and even engineering. If you have a plan to produce content outside of the game, you can choose this license.
- You can start the download process by clicking the “Download Now” button under the
- License type that suits you.
- After the download is complete, you can run it.
During the download process, you may receive warnings such as security approvals and administrator permission. These are warnings that will vary depending on your operating system. You don’t need to worry; grant the necessary permissions and continue. At the same time, Unreal Engine can install this and other similar programs, such as DirectX.
Creating an Epic Games Account
After the Epic Games Launcher is installed, you will be prompted to log in. If you have an account, sign in. If you do not have an account, click “Sign Up” and register.
Epic Games supports many different register types. You can sign up with any of these options.
After creating your account, you can enter the Epic Games Launcher and click “Sign In”.
Installing Unreal Engine
At this stage, we now have all the requirements to install Unreal Engine. Next is to install this great game engine. Now that you are logged into the Epic Games Launcher, you are ready to install Unreal Engine.
To do so, please follow the steps below:
- You will see the “Unreal Engine” tab in the interface of Epic Games Launcher.
- Next, click the “Install Engine” button in the upper right corner.
- You need to choose the address where Unreal Engine will be installed. Of course, this is optional, but if you want to change it, you can click the “Browse” button.
- Unreal Engine comes with many different components, including: Starter Content, Templates and Feature Packs, Engine Source, Core Components and Editor Symbols for Debugging. However, please note that you can edit them later. You don’t need to worry about this right now.
- After selecting the components you need, you can click the “Apply” button.
- You can now click the “Install” button. This process may take a long time depending on your internet speed and system specifications.
- After the installation is complete, you will see the “Launch” button. Congratulations! By clicking this button, you can step into the world of Unreal Engine.
How to Create Projects with Unreal Engine
For Unreal Engine project creation, first of all, you need to open the program by clicking the “Launch” option from the part you can see from the picture.
After the game engine is opened, an interface will appear as in the picture. As we mentioned, Unreal Engine is not just used for game development. If you are interested in other industries besides game development, you can also explore other options. However, we will speak for this area as we are concentrating on game development.
Here, you can select “Games” for the game project and click “Next”.
On the next page, Unreal Engine will present you with many ready-made projects. You can do everything yourself by creating an empty project from here, or you can choose the project that suits you in order to do some of your work faster. After selecting the appropriate project, you can proceed to the next step by clicking the “Next” button.
This last page contains some important details. In the script feature we will use, you can choose whether you want Blueprint or C++. From this page, you can choose the graphics option you want, the Raytracing feature, your target platform, and whether to start with the starter content.
If you do not trust the power of your graphics card, you do not have to choose Raytracing and Maximum Quality options. This will affect your Unreal Engine performance.
When your project is created, the game engine appears with the default image option. When you first open your project with Unreal Engine, you can access a short tutorial of Unreal Engine by clicking the ‘blue hat’ icon at the top right. With this training, you can learn the functions of the scenes that appear when you first open your project.
Introducing Unreal Engine’s powerful and useful interface. Here you can manage every file, material, and object of your project.
Unreal Engine Interface
You can customize the Unreal Engine interface as you wish. For simplicity, we will focus on the default interface.
If we had to define the regions you see here, they include:
- Tab Bar and Menu Bar
- Toolbar
- Place Actor / Modes
- Viewports
- Content Browser
- World Outliner
- Details
Unreal Engine Tab Bar
The tab bar is the area where the tabs are created for the window you are editing. It works like a web browser. It provides you with a fast control system.
Unreal Engine Menu Bar
There are many commands related to your project here. You can perform Unreal Engine management work here. In order to find out what it contains, it is useful to explore a little bit more here. Hover your mouse over the item you are curious about and read the description.
Unreal Engine Toolbar
Here you will find the items you will use the most. The “Play” button is located here, which you can use to preview your game.
Unreal Engine Viewport
Here is the area we will use the most in game development. This is the region of the world you will create and the area of the game. You can navigate inside by right-clicking with your mouse and using the WASD keys.
Unreal Engine Details
In this panel, you can see all the information about the current item. For example, the chair on the right in the photo above is selected and you can see the location information of the chair in the details panel.
At the same time, you can add rendering features, lighting, and, most important, components and scripts here.
Unreal Engine World Outliner
Here, you will find all the actors present in your play scene. Rather than looking for actors on the playing field, you can select them here and make the necessary changes.
Mastering the entire interface will depend on experience and time. For this, you should try to develop a lot of projects. This is the best way to gain experience with Unreal Engine.
Unreal Engine Game Programming and Scripting
Unreal Engine comes with two scripting options, Blueprint and C++.
First, let’s talk about what a Blueprint is. Blueprint is Unreal Engine’s visual programming language. The Blueprint system is built on C++. In this way, you can pass the code you want from C++ to Blueprint. Likewise, the opposite is possible.
Blueprint is especially ideal for creating various prototypes. C++’s long compiletime and complex settings make the process quite long. However, it is quite easy to get the hang of after learning the Blueprint logic.
If you don’t have previous C++ development experience, this can be quite daunting. Blueprint is much easier to learn, as it has drag-and-drop capability. Thanks to Blueprint, you can learn variables, classes, and functions in a much shorter time. After that, it will be easier to start learning C++.
Blueprint works pretty quickly depending on your project. However, the large number of loops and the increased complexity of the structures inside these loops can cause performance problems. Instead of developing complex projects with Blueprint, using both C++ and Blueprint will save time and work.
If we need to talk about how the scripting feature works, it can best be described as follows. We talked about the World Outliner panel. Suppose there are 2 cubes in this panel. We want one of the cubes to constantly move left and right, and the other to be moved by the player. Our goal in the game is to hit the constantly moving cube.
What we need to think about now is our route to go. For this, we need to select one of the cubes in the World Outliner panel and add a Blueprint or C++ script to it. Suppose we are developing with C++. We must encode the movement commands required for this cube and the input commands to be entered by the player. Our first cube is ready to be moved.
We should add a C++ script to our other cube and write code so that it can move left and right continuously.
Finally, we need a script to follow the collision system. We can add this anywhere. Because we will be able to call it from any place we add. Inside this script, there will be code that will monitor for when both cubes collide. If both cubes are in the same coordinate, we can make a rule such as “destroy one of the cubes” or “add 10 points to the score”. It’s totally up to the developer what happens.
It’s a simple example, but I’m sure you understand how to use the scripting feature.
Game Development in Unreal Engine
In this game development tutorial, you learned how to install the Unreal Engine, how to start a new game project, and the differences between Blueprint and C++. At the same time, you learned about Unreal Engine’s interface.
Game development is a field that requires a lot of hard work and experience. Unreal Engine is a really successful game engine in this field. Choosing this engine for development is a great decision. But there is a long – and fun road – to travel in your game dev adventure.
Be sure to check out the documentation on Unreal Engine’s official website. Here you will find various demo projects, Blueprint structures, C++ algorithms, and more. Explore features like Sharing, Rendering, and Raytracing.