TExcelTAD
Home › Game Development Roadmap & Fundamentals › Blender, Git LFS & Publishing

Blender, Git LFS & Publishing

The second half of the toolkit gets art into the game and the game to players: Blender for 3D assets, Git LFS to version them, and itch.io and Steam to publish. You don't need to be an artist to use Blender or a business expert to use Steamworks, but every game programmer runs into all four.

Blender for programmers

Blender is a free, open-source 3D suite: modelling, UV unwrapping, sculpting, rigging, animation and rendering. Programmers mostly use it to fix and export assets, make placeholder models and automate repetitive jobs with Python (bpy).

The things that go wrong when moving models between Blender and engines are almost always the same:

Problem Cause Fix
model is 100× too big or small unit mismatch (Unreal uses centimetres, Unity and Godot metres) set the scene units and export scale deliberately; test with a 1 m cube
model lies on its side or faces backwards axis conventions (Blender is Z-up; Unity and Godot are Y-up; Unreal is Z-up with different forward axis) use the exporter's axis options; check forward direction with a test arrow
rotation or scale behaves strangely in-engine unapplied object transforms Apply → All Transforms before export
dark or inside-out faces flipped normals recalculate normals; check the face orientation overlay
textures missing absolute paths or unpacked images export textures alongside, use relative paths, or embed them (GLB)

Formats: glTF 2.0 (.glb binary or .gltf + files) is an open standard and the best choice for Godot and the web; Unity and Unreal import FBX most commonly (both also have glTF importers). Keep the .blend source file in the repository (in LFS) next to the exported file.

Blender's exporters are scriptable, so a one-click "export everything" script is a common first tool:

python
# Run inside Blender (Scripting tab): export each selected object as its own .glb
import bpy, os

out_dir = bpy.path.abspath("//export")
os.makedirs(out_dir, exist_ok=True)
selected = list(bpy.context.selected_objects)
for obj in selected:
    bpy.ops.object.select_all(action='DESELECT')
    obj.select_set(True)
    bpy.ops.export_scene.gltf(filepath=os.path.join(out_dir, obj.name + ".glb"),
                              use_selection=True, export_format='GLB')

Assets, Tools & Shipping covers per-engine export settings and pipeline scripts in depth.

Git LFS in practice

The Git, Git LFS & .gitignore lesson has a full .gitattributes for a Unity project. Day-to-day commands:

bash
git lfs install                       # once per machine
git lfs track "*.blend" --lockable    # add a rule (writes .gitattributes)
git lfs ls-files                      # what is stored in LFS
git lfs locks                         # who has locked what
git lfs lock Art/Hero/hero.blend      # take the lock before editing
git lfs unlock Art/Hero/hero.blend    # release it after pushing
git lfs pull                          # download LFS content after a clone made without it

Things to know before relying on it:

  • Hosting providers (GitHub, GitLab, Bitbucket, Azure DevOps) limit LFS storage and bandwidth, especially on free plans. A team pushing many large textures can hit those limits; check your host's current quotas.
  • CI machines need git lfs pull (or LFS enabled in the checkout step), or the build gets tiny pointer files instead of textures.
  • Large studios, especially Unreal teams, often use Perforce (Helix Core) instead, which handles huge binary repositories and file locking natively. Unity also offers Unity Version Control.

Publishing on itch.io

itch.io is the easiest place to publish a first game: free to upload, browser games supported, and very popular for jams.

  • Create a project page, upload builds per platform (Windows, macOS, Linux, Android) or an HTML5 zip whose index.html runs in the page.
  • Pricing: free, paid, or "pay what you want" with a minimum. You choose the revenue share itch.io takes (it defaults to 10%).
  • butler, itch.io's command-line uploader, pushes builds to channels, only uploads the changed parts, and works well in CI:
bash
butler login
butler push build/windows yourname/your-game:windows --userversion 1.2.0
butler push build/web     yourname/your-game:html5   --userversion 1.2.0
butler status yourname/your-game
  • Use devlog posts on the page to announce updates. Screenshots, a GIF and a short description above the fold matter more than anything else on the page.

Publishing on Steam (Steamworks overview)

Steam is where most PC players buy games, and the process is more involved:

  1. Join Steamworks (the partner program): identity and tax information, then pay the Steam Direct fee per game (US$100, recoupable once the game earns $1,000 in adjusted gross revenue).
  2. Build the store page: capsule images in the required sizes, trailer, screenshots, description, tags. Valve reviews the page before it goes public.
  3. "Coming Soon": publish the page early, ideally months before launch, to collect wishlists. Valve requires the page to be visible as Coming Soon for a minimum period before release (two weeks at the time of writing).
  4. Upload builds with SteamPipe: an app has depots (content per platform) and branches (default, beta, private test branches). Builds are uploaded with the SteamCMD tool and a build script, then set live on a branch.
  5. Integrate the Steamworks SDK if you want achievements, cloud saves, stats, leaderboards, Steam Input or multiplayer services. In engines this is usually a wrapper: Steamworks.NET or Facepunch.Steamworks (Unity, C#), the built-in Online Subsystem Steam (Unreal), GodotSteam (Godot).
  6. Review and release: Valve checks the build before release; then you press the button.

Events such as Steam Next Fest (a free demo festival held several times a year) are among the best ways for small games to get wishlists. Rules, fees and requirements change, so read Valve's Steamworks documentation for current details before you plan a release date.

A pre-upload checklist

Every store rejects or punishes the same mistakes. A small script that checks a release description before upload catches them:

js · try it yourself
const release = {
  version: "1.2.0",
  platforms: ["windows", "html5"],
  hasIcon: true,
  screenshots: 3,
  trailer: false,
  controlsListed: true,
  testedOnCleanMachine: false,
  debugConsoleDisabled: true,
};

const checks = [
  ["version follows major.minor.patch", /^\d+\.\d+\.\d+$/.test(release.version)],
  ["at least one platform build", release.platforms.length > 0],
  ["icon present", release.hasIcon],
  ["3+ screenshots", release.screenshots >= 3],
  ["trailer or GIF", release.trailer],
  ["controls listed on the page", release.controlsListed],
  ["tested on a machine without dev tools", release.testedOnCleanMachine],
  ["debug commands disabled", release.debugConsoleDisabled],
];

let failed = 0;
for (const [label, ok] of checks) {
  if (!ok) failed++;
  console.log(`${ok ? "PASS" : "FAIL"}  ${label}`);
}
console.log(failed ? `${failed} item(s) to fix before upload` : "ready to upload");
PASS  version follows major.minor.patch
PASS  at least one platform build
PASS  icon present
PASS  3+ screenshots
FAIL  trailer or GIF
PASS  controls listed on the page
FAIL  tested on a machine without dev tools
PASS  debug commands disabled
2 item(s) to fix before upload

Test yourself

A model exported from Blender appears 100 times too small in Unreal. What is the likely cause?

  1. Flipped normals
  2. A unit mismatch: Unreal works in centimetres
  3. Missing textures
  4. Git LFS pointer files

What does itch.io's butler tool do?

  1. Generates store art
  2. Uploads builds to channels from the command line, sending only changed parts
  3. Compiles the game
  4. Manages Git LFS

Why publish a Steam 'Coming Soon' page well before launch?

  1. It's cheaper
  2. To collect wishlists, which notify players at launch
  3. Valve requires a year
  4. To test builds