Exporting

Code Export turns the active Document into JSON that your game code, tools, or build pipeline can consume.

Exported data is intentionally structured rather than opinionated. Spritedeck describes the content you placed; your game decides what each Room, Rectangle, Object, Marker, Path, Tile, or Event means at runtime.

Exporting JSON

  1. Open the Document you want to export.
  2. Click Code in the editor.
  3. Review the JSON in the Export Code window.
  4. Copy the JSON to your clipboard or download it as a .json file.

What gets exported

The export includes the active Document and its placed content, along with the Project context needed to interpret Tiles, Object Types, and related data.

Tips

  • Use clear names for anything your game code will reference.
  • Keep Documents focused so each export represents a useful level, scene, or area.
  • Treat export data as a contract between your editor workflow and your runtime code.