What I wish I knew about game engine development for beginners

Most beginner advice about engine development is a list of things to learn. The part nobody explains is what happens to your assumptions during the first few months: which of them survive contact with the work, and which quietly hold you back. I kept a running list of both. Here is the honest version of it.

Assumptions that did not survive

  • A good architecture prevents bugs. It prevents one class of bug and conceals others. Most of my early bugs came from state owned in two places, which no amount of layering fixed — only a single owner did.
  • Progress means more features. Real progress usually means a smaller frame, a faster build, or a system I can now explain out loud.
  • Reading other engines teaches as much as building one. Reading gives you vocabulary. Building gives you the questions that make the vocabulary useful. I read for a year and learned less than in six weeks of shipping something small.
  • Performance is a late-stage concern. Performance is a design property. By the time the frame is slow, the expensive decisions are months behind you.
  • The renderer is the hard part. The hard part is the boundary between systems: who owns the asset, when it is released, and which clock each timer uses.

Skills that turned out to matter more than maths

Engine development has a reputation for being mathematical. Some of it is, eventually, and the linear algebra you need early is modest. The skills that actually decided whether my project progressed were duller: reading unfamiliar code until I could predict it, finding a bug by narrowing the conditions rather than guessing, keeping the build reproducible, and writing down a decision so future me could see the reason.

Debugging over time is the one worth practising deliberately. Most engine problems exist only across frames — a value that was right last frame, a resource freed before it was used — and the usual habit of adding a print statement in the wrong place teaches nothing. Learn to pause the world, inspect a value, and step one frame at a time.

Ways I shortened the curve, once I stopped guessing

  1. Copy a small engine’s frame order rather than its architecture. The loop is the part that must be right; the layers are opinions.
  2. Build the same toy three times — a moving shape, a loaded model, a camera orbit — instead of three different toys once.
  3. Read one subsystem of someone else’s engine deeply, until you could rewrite it. Breadth of reading is much less useful than depth on a single file.
  4. Keep a log of “why” entries, one line each. It becomes the documentation you actually use.
  5. Show the build to somebody every month, even when it is embarrassing. The questions you get reveal what you have stopped noticing.

None of this makes engine development easy. It makes the first year less circular, which is most of what a beginner needs — the rest is repetition, and repetition only works when the thing you are repeating keeps getting slightly better.