Engines & IDEs
A game developer's toolkit is small at the core (an engine, an IDE with a debugger, a profiler) and grows with the project. This lesson lists the tools that matter today for each engine, what each is for, and one tool every project should build for itself: a debug console.
Engines
| Engine | Get it | Notes |
|---|---|---|
| Unity 6 | Unity Hub | Use an LTS release for real projects. Packages come from the Package Manager (Input System, Cinemachine, ProBuilder, Addressables…). Render pipelines: URP for most games, HDRP for high-end PC/console |
| Unreal Engine 5 | Epic Games Launcher, or source from GitHub | Blueprint-only or C++ projects; plugins enabled per project; Fab is Epic's asset marketplace |
| Godot 4 | godotengine.org (also on Steam and itch.io) | standard or .NET build; the AssetLib inside the editor for addons; export templates downloaded from the editor |
| Web | npm | Phaser (2D framework), PixiJS (2D renderer), Three.js and Babylon.js (3D), PlayCanvas (3D engine with a web editor) |
IDEs and editors
| Tool | Best with | Why |
|---|---|---|
| JetBrains Rider | Unity, Unreal, Godot (C#) | strong refactoring and code analysis, Unity and Unreal integrations (understands serialized fields, Blueprints, UE reflection macros), a debugger that attaches to the editor. Free for non-commercial use; paid licence for commercial work |
| Visual Studio (Windows) | Unreal C++, Unity | the standard Unreal IDE on Windows; install the Game development with C++ workload for Unreal or the Game development with Unity workload for Unity. Community edition is free for individuals and small teams (check the licence terms) |
| VS Code | Godot, web, Unity | lightweight; Microsoft's Unity extension (with the C# Dev Kit) for Unity debugging, godot-tools for GDScript, built-in TypeScript support for web games |
| Godot's script editor | GDScript | built in, with debugger and docs lookup; many Godot developers never leave it |
| Xcode | macOS/iOS builds | required to build and sign for Apple platforms |
Note: Visual Studio for Mac was retired in 2024. On macOS, use Rider or VS Code for C#.
Whatever you choose, make sure breakpoints work in gameplay code before you need them. Debugging with breakpoints and watch windows is several times faster than adding print lines and restarting.
Profilers and debuggers
| Tool | For |
|---|---|
| Unity Profiler, Frame Debugger, Memory Profiler | CPU/GPU time per system, draw calls, memory |
Unreal Insights, stat commands |
CPU/GPU timing traces, memory, networking |
| Godot Profiler, Visual Profiler, Monitors | script and engine time, frame time, object counts |
| RenderDoc | capturing a frame and inspecting every GPU draw call (most engines and APIs) |
| PIX (Windows/Xbox), NVIDIA Nsight, Xcode GPU tools | platform-specific GPU profiling |
| Tracy, Superluminal | sampling and instrumented CPU profiling for C++ engines |
| Browser DevTools | JS profiling, memory, and WebGL inspection (with extensions such as Spector.js) |
Content tools that programmers meet
- Aseprite (pixel art and animation; paid, source-available), Krita and GIMP (free painting and image editing).
- Tiled and LDtk: free 2D level editors whose maps import into most engines.
- Blender: free 3D modelling, rigging and animation; see the next lesson.
- Audacity for editing sounds, jsfxr/Bfxr for quick retro sound effects, and FMOD or Wwise for adaptive game audio (both have free tiers for small projects; check their licences).
Build your own debug console
Every shipped game is full of hidden tools: cheat commands, teleports, "give 999 gold", "show collision boxes". Building a tiny command console early saves hours of replaying to reach the bug you're fixing. The core is a dictionary from command names to handlers:
using System;
using System.Collections.Generic;
var state = new GameState();
var console = new DebugConsole();
console.Register("god", "toggle invincibility", _ => { state.God = !state.God; return quot;god mode {(state.God ? "on" : "off")}"; });
console.Register("give", "give <item> <count>", args =>
{
if (args.Length != 2 || !int.TryParse(args[1], out int n)) return "usage: give <item> <count>";
state.Items[args[0]] = state.Items.GetValueOrDefault(args[0]) + n;
return quot;gave {n} {args[0]} (now {state.Items[args[0]]})";
});
console.Register("tp", "tp <x> <y>", args =>
{
if (args.Length != 2 || !double.TryParse(args[0], out double x) || !double.TryParse(args[1], out double y)) return "usage: tp <x> <y>";
state.X = x; state.Y = y;
return quot;teleported to ({x}, {y})";
});
foreach (string line in new[] { "help", "god", "give gold 999", "give gold lots", "tp 120 45.5", "fly" })
Console.WriteLine(quot;> {line}\n{console.Run(line)}");
class GameState
{
public bool God;
public double X, Y;
public Dictionary<string, int> Items = new();
}
class DebugConsole
{
readonly SortedDictionary<string, (string Help, Func<string[], string> Run)> commands = new();
public void Register(string name, string help, Func<string[], string> run) => commands[name] = (help, run);
public string Run(string line)
{
string[] parts = line.Split(' ', StringSplitOptions.RemoveEmptyEntries);
if (parts.Length == 0) return "";
if (parts[0] == "help")
return string.Join("\n", BuildHelp());
return commands.TryGetValue(parts[0], out var cmd)
? cmd.Run(parts[1..])
: quot;unknown command '{parts[0]}' (try 'help')";
}
IEnumerable<string> BuildHelp()
{
foreach (var (name, cmd) in commands) yield return quot; {name,-5} {cmd.Help}";
}
}> help
give give <item> <count>
god toggle invincibility
tp tp <x> <y>
> god
god mode on
> give gold 999
gave 999 gold (now 999)
> give gold lots
usage: give <item> <count>
> tp 120 45.5
teleported to (120, 45.5)
> fly
unknown command 'fly' (try 'help')
In an engine you'd open it with a key (often the backtick), draw it with the engine's UI, and strip or lock it in release builds. Unreal already ships a console with many built-in commands (stat fps, slomo 0.5) and lets you add your own with the Exec specifier or console variables; in Unity and Godot you add your own or use an asset.
Test yourself
Which Visual Studio workload is needed for Unreal C++ on Windows?
- ASP.NET and web development
- Game development with C++
- Python development
- Mobile development with .NET
What is RenderDoc used for?
- Writing documentation
- Capturing a frame and inspecting GPU draw calls
- Recording gameplay videos
- Version control
Why build a debug console early in a project?
- Players expect one
- Commands like teleport and give items let you reach and reproduce bugs fast
- It improves performance
- Engines require it