Web builds

Get your game playing in the browser

A game people can play with one click gets played far more than a download. Here's how to get a game made with AI into the browser, and onto kilnguild.com, whichever way you built it.

Your game is one HTML file

Most games made by asking Claude, ChatGPT, Codex or Gemini are a web page already. If everything is in one .html file, with the pictures drawn in code or built in, you're nearly done: open it in your browser to check it starts, then upload it.

  • 1 .html file
  • up to 5 MB
  • the whole game inside
Ask your AI toolPut the whole game in one index.html file with no outside files, and draw the graphics in code.

Your game is several files

If the game has its own pictures, sounds or script files next to the page, put the folder in a .zip. The page that starts the game must be called index.html. It can sit at the top of the zip or inside one folder in it.

  • up to 300 files
  • 150 MB unzipped
  • each file at most 50 MB after compression
  • web files only: no .exe
Ask your AI toolName the start page index.html, and load every file with a relative path like images/player.png, never a path on my computer.

Godot 4

  1. Project → Export → Add… → Web. The first time, Godot asks for export templates: choose Manage Export Templates and download them.
  2. Leave Thread Support off. That's the default since Godot 4.3. Games exported with it on need special settings on the website, so they won't start on kilnguild.com.
  3. Turn Export With Debug off, export into an empty folder, and name the file index.html in the export window. Don't rename the files afterwards: the export expects the names it was given.
  4. Zip everything in that folder: the .html, .js, .wasm and .pck files and the small extra ones. A zip without the .wasm file won't start.

Don't worry about the big .wasm file (the engine, about 40 MB): it shrinks to about a quarter when stored, and fits. Godot 3 exports haven't been tried here yet. One limit from Godot itself: a Godot 4 game written in C# can't be exported for the web at all, only games written in GDScript.

Ask your AI toolMy Godot 4 game will be exported for the web. Check the project for anything that won't work in a browser, like threads or reading files from the disk.

Unity

  1. File → Build Profiles (Build Settings in versions before Unity 6) → Web (called WebGL in older versions) → Switch Platform → Build. If Web isn't installed, Unity offers to add it through Unity Hub.
  2. Any compression setting works: Brotli, Gzip or Disabled.
  3. Zip the whole build folder: index.html, the Build folder and TemplateData.

Size is the catch: each file at most 50 MB after compression, 150 MB in all. Small and jam-size games fit; big 3D games often have one .data file that is too big. Then put the web build on itch.io and add it by its link (below). A Windows build, an .exe with a _Data folder, can't run in a browser at all: you need the Web build.

Already on itch.io, or on your own site

If your game already plays in the browser on itch.io, there's nothing to upload:

  • On the Discord: post it in #feedback-wanted with the 🏺 Add to kilnguild.com tag (it needs the Founding Member or Kiln Hand role). Its card on kilnguild.com plays it from itch.
  • On the site: on kilnguild.com/upload choose "I add its link". Whether it can play inside kilnguild.com depends on the site it's on; that's tried when it's checked. Downloads only through a store page.

Before you upload

  • It starts in your browser. Open it, or try it on itch.io first.
  • The controls are written down, in the game or in "How to play" when you upload.
  • Sound starts after a click. Browsers block sound until the player presses something, so start the music on the first key or click.
  • No API keys in the files. Anyone who plays a web game can read its files, so a key for an AI service inside them is a key you've given away.
  • Phones: some visitors play on a phone. If your game needs a keyboard, say so in "How to play".

Every upload is checked by hand before it goes public, usually within a few days.

Questions

Why does my game show a black screen?

Usually a file is missing from the zip (for Godot, often the .wasm file), or a Godot game was exported with Thread Support on. Press F12 in your browser, open the Console tab, and paste the red error lines to your AI tool: it can usually tell you what is wrong.

Can I put my game up again after fixing it?

Yes. On My kiln, send a new version of the same game. It is checked too, and the old version stays playable until the new one is approved.

Does kilnguild.com cost anything?

No. Uploading a game, adding one by its link and playing the games on kilnguild.com are free.

Ready? Bring it to the kiln

Upload the file or add the link, and other makers can play it in one click and tell you what they thought.