IDEASLAM
Log in

Creator docs

Exporting for the web from a game engine, the SDK added to every web work, the settings file, and one-command updates.

Last updated 2026-12-02

Making a web work

A folder with index.html as the first page is all you need. Upload the folder and it is zipped for you. Source maps (.map) are removed on upload.

Only works made for the web run right on the site. Windows (.exe) and Android (.apk) builds are listed as downloads. Most game engines can export for the web.

Exporting for the web from a game engine

EngineHow
UnityFile → Build Settings → switch to WebGL and Build. Upload the output folder. Compression (Brotli/Gzip) can stay on — we unpack it on upload.
Godot 4Project → Export → add Web. Turn Thread Support off (threaded builds won't run here). Upload the exported folder.
Godot 3Project → Export → HTML5 → Export. Upload the folder.
GameMakerSet the target to HTML5 and build. Upload the output folder.
Construct 3Menu → Export → Web (HTML5). Upload the zip as is.
RPG Maker MV/MZDeployment → Web browsers/Android/iOS. Upload the output folder.
Plain HTML/JSUpload the folder that has index.html.

If the exported first page isn't named index.html (e.g. MyGame.html), rename it to index.html.

Settings file: ideaslam.json

Put it at the top of your folder and the player reads it. It's optional.

{
  "name": "Hello Game",
  "orientation": "landscape",
  "aspect": "16:9",
  "input": ["keyboard", "touch", "pad"],
  "connect": ["https://api.example.com"]
}
FieldValuesMeaning
orientationany · landscape · portraitScreen orientation (locked where supported)
aspectA ratio such as "16:9"Keep this aspect ratio
inputkeyboard · touch · padWith pad, phones get an on-screen pad (arrows, A, B)
connectList of https/wss addressesOutside addresses your work may call (everything else is blocked)

SDK (ms.js)

Added automatically to the first page of every web work. You don't need to include it, and removing it doesn't work — it comes back.

// Save (to the account if logged in, otherwise this device)
await ms.save({ level: 3, coins: 120 });

// Load
const data = await ms.load();

// This work's ID
console.log(ms.workId);
  • The SDK measures real use on its own: only time when the screen is visible and there was input in the last 30 seconds.
  • The on-screen pad sends real keyboard events (keydown/keyup for arrows, Space, Enter). If your game works with a keyboard, there's nothing to do.

One-command updates

  1. Create a key for the work (starts with msk_) under update keys. It can only upload new versions of that one work and lasts 90 days.
  2. Get the tool: /ms.mjs on this site (Node 20+, nothing to install).
  3. Push:
MS_KEY=msk_... node ms.mjs push ./my-game --work <work id> --message "Fixed the jump bug"
  • Folders are zipped automatically. Up to 20 uploads a day.
  • If the scan passes, the new version goes live and --message is posted to the devlog.
  • You get a notification for every upload. If it wasn't you, press Not me in the notification to roll back and revoke the key.

Using the API directly

POST /api/v1/works/{work id}/versions
Authorization: Bearer msk_...
Content-Type: multipart/form-data
  file       zip or other file (required)
  changelog  what changed (optional)
ResponseMeaning
201Uploaded (if held, it goes live after admin review)
422Blocked by the scan
400No file
401 · 403Wrong or expired key, or the work is closed
404Work not found
413File too large
429Daily limit reached