CodeBlanks Logo Icon CodeBlanks

Game engines

Learn about Unity, Godot, Unreal and their differences.

What Is a Game Engine?

A game engine is software that brings together many essential tools for creating games. It provides ready-made systems for adding visuals, managing sounds, organizing scenes, and running game code.

Game Engine
├── Visuals
├── Audio
├── Physics tools
└── Code and scenes

This means developers do not have to build every basic system from scratch.

Unity, Godot, and Unreal

Unity is a widely used engine for developing games across different platforms and supports C#. Godot is an open-source game engine and can work with languages such as GDScript. Unreal Engine is known especially for its advanced visual features and offers C++ support.

Unity  → C#
Godot  → GDScript
Unreal → C++

Each engine offers different tools and workflows; the choice depends on the needs of the project.

Practice Display the Game Engine

Assign the value Godot to the engine variable and print it using console.log().

Starter code

Player.cs
// Kullanılan oyun motorunu belirt
const engine = "";
// Motor adını ekrana yazdır

Sample solution

Player.cs
// Kullanılan oyun motorunu belirt
const engine = "Godot";
console.log(engine);

Expected output

Godot

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 What is the main purpose of a game engine?

  • To produce only game music
  • To require an internet connection
  • To draw characters only
  • To provide ready-made tools for game development Correct answer

Explanation: Game engines bring together many development needs, including visuals, audio, scenes, and code, in one environment.

2 Match the Engine and Programming Language

Question
const engine = "Unity";
const language = "____";
console.log(language);
Answer
const engine = "Unity";
const language = "C#";
console.log(language);

Explanation: Unity supports the C# language for game development.

3 Identify the Game Engines

Term Meaning
Unity A game engine that supports C#
Godot An open-source game engine
Unreal Engine Known for its advanced visual features
Oyun motoru Brings development tools together

All lessons in Beginner