CS 276 // GAME SYSTEMS IN GODOT

Gone Gold.

Exports, Release Checklists, and Publishing Builds

Lucas P. Cordova, Ph.D.

Willamette University  |  Tuesday, November 24, 2026

SCORE 000276HI 999999

Outline

QUEST LOG

There is no class this Thursday (Fall Break), and nothing is due over the break. We meet again on Tuesday, December 1.

CS 276
LEVEL 01

Save Point

The quest log and the showcase

SCORE 000276HI 999999

Quest log

WhenWhatWhere
Today, in classExport your game and play it in a browserYour draft itch.io page
Thu Nov 26No class (Fall Break)Nothing is due over the break
Tue Dec 1Final playtest and bug bash; Sprint 3 reportdocs/sprint-3.md, with Review 3 answered in FEEDBACK.md
Thu Dec 3Showcase: guests play your gameThe quad at noon (to be confirmed)
Fri Dec 11Public itch.io release and postmortemNo final exam
QUEST LOG

Showcase plan: we meet at the quad at noon on Thursday, December 3. The place and time are still to be confirmed. Watch Canvas announcements for the final word.

CS 276
LEVEL 02

The Build Is the Game

What an export is

SCORE 000276HI 999999

Your players never open Godot

When you run it in the editorWhen a player runs the export
Godot reads your whole project folderOnly the files the export packed are there [1]
On Windows and macOS, Player.png finds player.pngCapital letters must match the file name exactly [3]
It is always a debug build, with the error panel beside itA release build has no debugger and no Output panel
Sound starts the moment the game startsIn a browser, sound waits for the first click or key press [2]
It runs on the laptop that made itIt runs on a machine you have never seen
CHECKPOINT

All semester you have tested the project. Your players get the export. Test the export.

CS 276

What an export is

  • An export template is the engine with the editor removed, built for one platform. You install the templates once [1].
  • An export preset is your recipe for one platform: which files go in and where the build is written.
  • Exporting packs your scenes, scripts, and assets into one pack file (.pck) and sets it beside the template.
  • Presets are saved in export_presets.cfg. Godot's docs call it safe to commit, so commit it [1].
A WEB EXPORT [2]
build/web/ ├─ index.html the page ├─ index.js start-up code ├─ index.wasm the engine ├─ index.pck your game ├─ index.png the splash image └─ (icons and audio helpers)

Nine files for Rival Brains. The engine is about 38 MB. The game itself is about 200 KB.

PATTERN

The preset is the recipe and belongs in the repo. The build is the meal and stays out of it.

CS 276

Pick your platform

PlatformWhat you hand overThe catch
WebA zip with index.html at the top level. It plays on the itch.io pageCompatibility renderer only [2]
WindowsA zip holding the .exe and its .pckWindows warns about an unknown publisher
macOSA .zip or .dmg holding the app [1]An unsigned app is blocked until the player allows it
LinuxA zip holding the binary and its .pckThe player has to mark it executable
PATTERN

The web build is the one every guest can open with a link, so it is the one to ship first. A desktop build on your own laptop is the backup for the day the network fails.

CS 276
LEVEL 03

Export, Live

Rival Brains in a browser

SCORE 000276HI 999999

One-time setup: export templates

LIVE DEMO

Once per Godot install:

  1. In the menu bar, click Editor, then Manage Export Templates....
  2. Click Download and Install.
  3. Wait for the bar to finish, then close the window.
  • The download is larger than a gigabyte. Start it now, on campus Wi-Fi, while I talk.
  • Teams that uploaded a build for the beta gate have already done this.
LIVE DEMO

The live demo starts on branch demo10, where last Tuesday ended. Tags demo11-lap1 and demo11-lap2 and branch demo11 are the catch-up points.

WATCH OUT

demo11-lap2 changes project.godot. After checking it out, use Project, then Reload Current Project.

CS 276

Step 1: a Web preset

LIVE DEMO

With demo10 open in Godot, game stopped:

  1. In the menu bar, click Project, then Export.... The Export window opens with an empty list.
  2. Click Add... at the top of the window and choose Web. A preset named Web appears in the list.
  3. On the right, find Export Path and click the folder icon beside it.
  4. In the file window, make a folder named build, and inside it a folder named web. Type the file name index.html and click Save.
  5. Leave every other option alone. Runnable is already on.
  6. Click Export Project... at the bottom. Turn Export With Debug off, then click Save.
  7. Close the Export window.

Then open .gitignore and add one line at the end:

build/
WATCH OUT

Name the file index.html. itch.io looks for a file with exactly that name [3].

Godot wrote a new file, export_presets.cfg. That one gets committed.

CS 276

Step 2: play the build

LIVE DEMO

Still in the editor:

  1. Look at the row of run buttons at the top right. A new button, Remote Deploy, appeared when the Web preset was made. Click it.
  2. Click Run in Browser. Godot exports, starts a small web server, and opens your default browser.
  3. Press Space in the browser and play one run.
  4. Back in Godot, click Remote Deploy again, then Stop HTTP Server.
  • The music began at your first key press. Browsers hold all sound until the player interacts with the page [2].
  • The run log still wrote its line. In a browser, user:// is kept in the browser's own storage [2].
  • Run in Browser always makes a debug build in a temporary folder. The files in build/web are the release build you upload.
CS 276

Nothing happened?

SymptomCause and cure
Red text about missing templates in the Export windowThe templates are not installed. Editor, then Manage Export Templates..., then Download and Install
There is no Remote Deploy buttonNo Web preset exists, or its Runnable switch is off
You double-clicked index.html and the page never loadsA web build has to come from a web server. Use Run in Browser, or upload it
The browser shows an empty gray or black boxThe project uses the Forward+ or Mobile renderer. In Project Settings, under Rendering, then Renderer, choose Compatibility [2]
A file loads in the editor and is missing in the buildThe capital letters in the path differ from the file name, or it is a .json, .csv, or .txt file, which the preset's Resources tab must be told to include [1]
CHECKPOINT

Which build ran, what was packed into it, and who is serving it?

CS 276
LEVEL 04

The Build Knows It Is a Build

A version on the title screen, and helpers that stay home

SCORE 000276HI 999999

Step 3: give it a version

LIVE DEMO

In Godot:

  1. In the menu bar, click Project, then Project Settings....
  2. In the list on the left, click Application, then Config.
  3. In the Version box, type 1.0.0. Close the window. (No Version box? Turn on Advanced Settings at the top right.)
  4. Open game.gd. In _change_state, in the TITLE arm, replace the banner.text line. Then add _version at the very bottom of the file.
  5. Save the script. Run the project. The title reads RIVAL BRAINS v1.0.0.

In game.gd, the last line of the TITLE arm becomes:

banner.text = "RIVAL BRAINS %s\nPress Space to play" % _version()

At the bottom of game.gd, add:

func _version() -> String:
    return "v" + str(ProjectSettings.get_setting(
            "application/config/version", "dev"))

One number, typed in one place. The title screen, the zip name, and the git tag all read it from there.

CS 276

Step 4: helpers stay home

Open perf_label.gd (the FPS label from week 12). Add a _ready function above _process:

func _ready() -> void:
    visible = OS.is_debug_build()   # true in the editor and in debug exports
    set_process(visible)
Ask the engineTrue whenUse it to
OS.is_debug_build()Running from the editor, or a debug exportShow FPS labels, cheat keys, and test levels
OS.has_feature("web")Running in a browser [4]Hide a Quit button. A browser tab has nothing to quit to
OS.has_feature("editor")Launched from the Godot editor [4]Skip the title screen while you are testing

Run in Browser makes a debug build, so the label still shows there. The release export in build/web leaves it out.

CS 276

One command

On branch demo11, the file export.sh does the export and the zip in one step. Its two working lines:

"$GODOT" --headless --export-release "Web" build/web/index.html

(cd build/web && zip -q -r "../$(basename "$ZIP")" .)
  • --headless runs Godot with no window. --export-release takes the preset's name in quotes and a path inside the project [1].
  • The zip is made from inside build/web, so index.html lands at the top level.
  • A script exports the same way on a calm Tuesday and at 9:50 PM on release night.
  • This part is optional for your team. export.sh and RELEASE.md on demo11 are yours to copy.
CS 276
LEVEL 05

Publish

The itch.io page

SCORE 000276HI 999999

Step 5: upload to itch.io

LIVE DEMO

With the release build in build/web:

  1. In your file browser, open build/web. Select every file inside it and compress them into one zip file.
  2. On itch.io, open your game's Edit game page. Set Kind of project to HTML.
  3. Under Uploads, click Upload files and choose the zip.
  4. Beside the uploaded file, tick This file will be played in the browser.
  5. Under Embed options, type your game's window size as the viewport. Rival Brains is 1152 by 648. Turn on the Fullscreen button.
  6. Leave Visibility on Draft until release day. Click Save, then View page, and play.
itch.io limit [3]Value
Files in the zip1,000
Total size, unzipped500 MB
Largest single file200 MB

Rival Brains: 9 files, 38 MB.

WATCH OUT

Zip the files, with index.html at the top level. A zip of the folder itself hides the page one level down.

CS 276

The page is part of the game

On the pageBecause
The title and a one-sentence pitchIt is the first thing a visitor reads, before the game loads
The controls, in plain wordsNobody outside your team knows which key jumps
A cover image and three screenshots of real playThe cover is what shows in every list on itch.io
Credits: every teammate, and every asset you did not make, with its licenseUsing someone's work comes with naming them
The version numberA bug report can say which build it came from
CHECKPOINT

Open your page in a private browser window and play it there. That is what a stranger sees.

CS 276

Versions and tags

VersionBuildWhen
0.9.0The showcase buildThursday, December 3
1.0.0The public releaseFriday, December 11
1.0.1The first fix after releaseWhenever a player finds the bug you missed

In a terminal, in the team repo, mark the commit you exported:

git tag v0.9.0
git push origin v0.9.0
  • Three numbers: major, minor, patch. A fix raises the last one. New content raises the middle one [5].
  • The version in Project Settings, the title screen, the zip name, and the git tag say the same thing.
  • Content lock still holds. From here to release, the numbers on your tuning sheet move and the feature list stays put.
CS 276
LEVEL 06

The Release Checklist

Every build that leaves the team

SCORE 000276HI 999999

The checklist

THE BUILD
  • The version in Project Settings is the one you are shipping.
  • Exported from a clean clone of main.
  • A release export.
  • Played outside the editor, title to win, title to loss.
  • Played by a teammate on a second machine.
THE PAGE
  • Title, pitch, and controls.
  • A cover image and three screenshots.
  • Credits and asset licenses.
  • Embed size matches the game window.
  • Played in a private browser window.
THE REPO
  • export_presets.cfg is committed.
  • build/ is ignored.
  • The exported commit is tagged with the version.
  • The README says how to play and links the page.

The full list is RELEASE.md on the rival-brains demo11 branch. Copy it into your repo and walk it for every build.

CS 276

The showcase build

  • Thursday, December 3. The plan is the quad at noon, still to be confirmed.
  • Bring the game two ways: the itch.io page, and a desktop export on your own laptop that runs with no network.
  • Charge both laptops and bring the chargers. Plan for no outlet and weak Wi-Fi.
  • A guest plays for about two minutes. The title screen names the controls, and the game finds its own way back to the title.
  • One teammate hosts. The other watches with hands off and writes down what happens (week 8).
QUEST LOG

The build you show on December 3 is the build you bug bash on Tuesday, December 1. Export it before that class.

CS 276
LEVEL 07

Build-Along

Ship your game once, in fifteen minutes

SCORE 000276HI 999999

Pick your row

Both laptops out. Start from the row that matches your game today:

Your game todayStart here
A web build is already on your itch.io pageExport again from a clean clone, and replace the upload
You have exported for desktop onlyAdd a Web preset (step 1), then Run in Browser
You have never exportedInstall the export templates, then step 1
Your game needs the Forward+ or Mobile rendererExport for your own laptop's platform, and upload the zip as a download
CO-OP MODE

One teammate drives the export. The other owns the itch.io page. Say your row out loud before the timer starts.

CS 276

Co-op: ship it once

CO-OP MODE

Fifteen minutes, on the timer:

  1. Add the Web preset with the export path build/web/index.html. Add build/ to .gitignore.
  2. Run in Browser. Play from the title screen to a win or a loss, and back to the title.
  3. Write down everything that differs from the editor. Each one becomes a GitHub issue.
  4. Export the release build, zip the files, upload the zip to your draft itch.io page, and play it there.
  5. Commit export_presets.cfg and .gitignore. Push.
  6. Round clear: show me your game running from the itch.io page on your teammate's laptop.

Templates still downloading? Write your team's RELEASE.md while the bar fills.

CS 276

Round clear

  • The issues you just filed are your list for the bug bash on Tuesday, December 1.
  • With export_presets.cfg in the repo, either teammate can ship from either laptop.
  • The page shows the last build you uploaded. After every fix that matters: export, zip, upload, play.
  • The first export is the slow one. Today's took fifteen minutes. The next one takes two.
CHECKPOINT

A preset in the repo, a release build on the page, and a list of what only the export revealed.

CS 276
LEVEL 08

Team Studio

The rest of class is yours

SCORE 000276HI 999999

Team time

CO-OP MODE

The rest of class is yours. Both laptops on the team repo. There is no class Thursday, so leave today with a plan for the break and for Tuesday.

Before you leave todayDone when
The bug list from today's exportEvery issue is marked: fix before the showcase, fix before release, or will not fix
Stakeholder Review 3FEEDBACK.md answers each note: adopt, adapt, or decline
The Sprint 3 reportdocs/sprint-3.md has an owner. It is due Tuesday, December 1
The itch.io pageIt has an owner, and a list of what the page still lacks
Showcase rolesYou know who hosts, who watches, and whose laptop runs the game

I am walking the room. Flag me down for anything stuck.

CS 276
LEVEL 09

Game Over Screen

What you know now

SCORE 000276HI 999999

Checkpoint reached

CHECKPOINT
  • Players get the export. It differs from the editor run in files, capital letters, sound, and debugging.
  • A preset is the recipe and goes in the repo. The build stays out.
  • A build knows its version and leaves its debug helpers at home.
  • The web build goes to itch.io as a zip with index.html at the top level.
  • A release checklist covers the build, the page, and the repo, every time.
QUEST LOG

No class Thursday (Fall Break). Tue Dec 1: final playtest and bug bash, and the Sprint 3 report. Thu Dec 3: the showcase, at the quad at noon (to be confirmed). Fri Dec 11: the public release and postmortem.

CS 276

Sources

  • [1] Godot docs: Exporting projects (presets, export templates, configuration files, exporting from the command line).
  • [2] Godot docs: Exporting for the Web (the Compatibility renderer, audio, user:// storage, the exported files).
  • [3] itch.io creator docs: Uploading HTML5 games. itch.io/docs/creators/html5
  • [4] Godot docs: Feature tags.
  • [5] Preston-Werner, T. Semantic Versioning 2.0.0. semver.org
  • [6] Demo repo: github.com/LucasCordova/rival-brains, branch demo11, tags demo11-lap1 and demo11-lap2.
CS 276