How to organize your game engine supplies

You know the shader exists. You wrote it, it worked, there was a screenshot. Now you need it again and the only clue is that it lived somewhere near a folder called “test2”. Engine projects collect exactly this kind of clutter — sample projects, reference implementations, experimental branches, half-finished tools — and the organising problem is real even though nothing in it is physical.

Give each kind of thing one home

Most mess comes from the same category of file ending up in three places. Decide the categories once and never reopen the question.

  • Engine source — your code, one repository, nothing else in it.
  • Third party — dependencies, vendored and version-pinned, never edited in place.
  • Content — models, textures, audio, and their import settings.
  • Experiments — throwaway scenes and branches, dated, and presumed deletable.
  • Notes — decisions, links, and the “why” that code cannot hold.

The value is not tidiness for its own sake. It is that “where would this go?” stops being a decision you make forty times a day.

Name files so the name answers a question

A name like shader2 tells you nothing and guarantees a third file called shader3. Use names that encode what you would search for: what it does, where it is used, and whether it is a variant. Dates belong on experiments, not on source. If a folder needs its own README to be understandable, it probably needs better names instead.

Delete or archive the moment a name stops being true. A file called water_final that no longer matches its contents is a trap for the next person, who is often you in six months.

Keep a toolchain inventory in plain text

One committed file listing the compiler, the SDK, the build system, the asset exporter, and the driver versions that worked together. Add a line for why each was chosen and what it broke last time. This is the single most useful page in the project, because it answers the question every returning developer asks first: what environment does this build in?

Build a reference shelf that earns its space

Reading other engines’ code is part of the craft, but a link dump is not a shelf. Keep a short list — a handful of engines or sample projects you actually open — each with one line saying what it demonstrates and what to look at first. Anything you have not opened in a year goes.

Ten minutes at the end of the week

Close the loop on Friday: move experiments into their dated folder, delete the branches you will not return to, add the version numbers you changed, and write down the one decision you made this week. Ten minutes of upkeep prevents the Saturday morning where you cannot rebuild the thing you were proud of on Wednesday. Unglamorous, and it is the whole difference between a project you can resume and one you have to reconstruct from memory.