Choosing an Engine
An engine gives you a renderer, physics, audio, input, an editor and export to many platforms, so you can spend your time on the game instead of the plumbing. The three big general-purpose engines today are Unity, Unreal Engine and Godot; this track has a full course for each. Web games and custom engines are the other two options.
The honest answer to "which engine is best?" is: the one you finish a game in. Pick one with this lesson, use it for your first two or three projects, and compare later when you know what you actually need.
The options at a glance
| Unity 6 | Unreal Engine 5 | Godot 4 | Web (Canvas, Three.js) | Custom engine | |
|---|---|---|---|---|---|
| Main language | C# | C++ and Blueprints (visual scripting) | GDScript; C# in the .NET build; C++ via GDExtension | JavaScript / TypeScript | usually C++ (or C, Rust, Zig) |
| Strong at | mobile, 2D and 3D indie, cross-platform, big asset ecosystem | high-end 3D, large worlds, realistic lighting (Lumen) and geometry (Nanite) | 2D, small to mid-size 3D, fast iteration, tiny download | instant play in a browser link, jams, casual games | learning how engines work, very specific technical needs |
| Weaker at | top-end visuals out of the box | 2D, small download sizes, steep C++ learning curve | AAA-level 3D, console export (needs a third-party porter) | heavy 3D, native console/mobile stores | everything else: tools, editor, platform support take years |
| Cost model | free Personal plan up to a revenue threshold, paid plans above it | free to use; royalty on revenue above a per-product threshold | free and open source (MIT), no royalties | free libraries | free, but your time |
| Source code | C# reference source only | full C++ source on GitHub after linking an Epic account | full source on GitHub | open source libraries | all yours |
Note: Licence terms and thresholds change. Read the current terms on each engine's website before you sell a game, not this table.
How to decide
Ask in this order:
- What language do you know? If you know C#, Unity or Godot .NET feel familiar immediately. If you know C++ and want a AAA job, Unreal is the industry standard there. If you know JavaScript, start on the web.
- What is the game? A 2D pixel-art platformer is happiest in Godot or Unity. A photorealistic 3D shooter is happiest in Unreal. A puzzle game meant to be played from a link is happiest on the web.
- What is the career goal? Many mobile and indie studios hire Unity developers. Many AAA studios ask for Unreal and C++. Godot is growing quickly with indies and open-source fans. Engine and graphics roles want C++ and an understanding of what happens below the engine.
- What does your machine handle? Unreal 5 projects want a strong GPU, lots of RAM and tens of gigabytes of disk. Godot runs on modest laptops. The web needs only a browser.
Weigh it, don't agonize
When two options look equal, a quick weighted score breaks the tie. Give each criterion a weight that reflects your priorities and score each engine 1–5. The numbers below are one learner's opinion, not a ranking. Change them to yours.
const weights = { language: 3, genreFit: 3, jobs: 2, hardware: 1, cost: 1 };
const scores = {
"Unity 6": { language: 5, genreFit: 4, jobs: 4, hardware: 4, cost: 4 },
"Unreal 5": { language: 2, genreFit: 3, jobs: 4, hardware: 2, cost: 4 },
"Godot 4": { language: 4, genreFit: 5, jobs: 2, hardware: 5, cost: 5 },
"Web": { language: 3, genreFit: 3, jobs: 2, hardware: 5, cost: 5 },
};
const total = (s) => Object.entries(weights).reduce((sum, [k, w]) => sum + w * s[k], 0);
const ranked = Object.entries(scores).map(([name, s]) => [name, total(s)]).sort((a, b) => b[1] - a[1]);
for (const [name, points] of ranked) console.log(`${name.padEnd(9)} ${points}`);
console.log(`Pick: ${ranked[0][0]}`);Unity 6 43
Godot 4 41
Web 32
Unreal 5 29
Pick: Unity 6
Here a C# developer making a 2D game ends up with Unity and Godot almost tied, which is the honest result: either would work. Close scores mean "pick one and start", not "research for another week".
Engine by engine
Unity 6 (version numbers start at 6000.x) suits developers who know C# and want to ship on many platforms, especially mobile. Its Asset Store and the number of tutorials are unmatched. You write components as C# classes and attach them to GameObjects. → Unity with C#
Unreal Engine 5 suits developers aiming at high-end 3D and studio jobs that use C++. Its gameplay framework (GameMode, PlayerController, Pawn) is opinionated, which helps once you learn it. Blueprints let designers and programmers share the work. → Unreal Engine 5 with C++
Godot 4 suits developers who want a light, fast, open-source editor and strong 2D. Everything is a node in a scene tree, and scenes nest inside scenes. GDScript is easy to learn and tightly integrated with the editor. → Godot 4 with GDScript
The web suits quick experiments, game jams and casual games that anyone can play from a link. You can write raw Canvas code or use a framework such as Phaser, PixiJS or Three.js. → 2D Games with JavaScript & Canvas, 3D Web Games with Three.js
A custom engine is a superb learning project for engine and graphics programmers, and a poor way to ship your first game. Make a game in an existing engine first. → Game Engine Architecture in C++
What transfers between engines
The engine you pick first matters less than it seems. The game loop, deltaTime, state machines, vectors, components, events, save files, profiling and scope management are the same ideas everywhere; only the API names change. This course and Math for Games teach those shared ideas once.
Test yourself
You know C++ and want a job at a studio making high-end 3D games. Which engine fits best?
- Godot 4
- Unreal Engine 5
- A custom engine
- Raw Canvas
Which engine is open source under the MIT licence with no royalties?
- Unity
- Unreal Engine
- Godot
- None of them
When is writing a custom engine a good idea?
- For your first commercial game
- When engine or graphics programming is the learning goal itself
- Whenever Unity feels slow
- Never