# Export

The editor exports your game for two places: **this computer** and **the web**. It tests
the game first, shows you the real export running, and says plainly what it does not do.

> **Note.** The editor does not export to phones. iPhone and Android builds are made with
> `frost` on the command line: see [Export to phones](../guides/export.md).

![The export view for the web: the checks the game passes before it leaves, the exported page running in the editor, and what a browser downloads](../files/editor/img/export.jpg)

## Export for the web

1. Choose **Web** in the menu beside **Export** in the title bar.
2. Press **Export** (`⌘E`, `Ctrl+E`).
3. Read **Before it leaves** at the left: the tests, the problems, the assets, the engine,
   the saves.
4. Press **Open in the browser**, or **Open the folder**.

**How you know it worked.** The line reads **Exported to** the folder, the exported page
is running in the middle of the editor (served from this computer while the editor is
open), and the view lists what a browser downloads, with sizes. The folder goes on any
host of files; nothing is uploaded for you.

## Export for this computer

1. Choose **Desktop** in the same menu.
2. Press **Export**.
3. Press **Play it in its own window**.

**How you know it worked.** The exported program starts from its folder, in its own
window. The folder is the game: the player, named after your game, with your game's files
beside it. Zip it and send it.

## When the checks hold it back

Export runs the checks every time. A game that fails one is not exported unless you say
so.

1. Read the line: for example **Not exported: the test fails at step N**.
2. Press **Go there** to leave the export for the game at that step. Or press **Export
   anyway**.

**How you know it worked.** After a fix, export again: every row of **Before it leaves**
has its check mark. A game with no recorded run is exported with a warning that its test
played nothing.

## What the editor does not do

These are the editor's own words, from the export view's **Not there yet**.

| | |
| --- | --- |
| No installer | The folder is the game. Zip it and send it. |
| Not signed | Another computer asks before it starts the game the first time. |
| Only this kind of computer | Players for the other two desktop systems are coming. |
| No phones, no consoles | Not started. Phones are exported with `frost`: see [Export to phones](../guides/export.md) |
| No publishing | Nothing is uploaded. The web folder goes on any host of files. |

## Good to know

- **A game in C#** runs as it is in the desktop player. For the web it needs one more
  step: see [C# on the web](../guides/fusion.md).
- **A 3D game that needs physics** cannot play in the browser's player yet, and the export
  says so.
- **Export to another folder…** and **Show the last export** are in the **Export** menu.
- Export in the editor is a run of `frost export` after `frost test`, so the same commands
  give the same folder outside the editor.
