Skip to content

Content packs, forks and remixes

Players and creators can extend a game they did not make, if its owner allows it (ADR 0015, ADR 0023).

In game/game.json:

"permissions": {
"expansions": { "allowed": true, "contentTypes": ["levels", "prefabs", "assets"], "menu": true },
"remix": "remix"
}
  • expansions.allowed: people may make content packs for this game. contentTypes limits what packs may contain (scenes are always allowed). menu: false removes the automatic Expansions item from the title menu; open the packs:menu scene from your own menu or a rule instead.
  • remix: none (no copies), fork (private copies with credit, which cannot be published) or remix (copies may be published as new games, with credit).

The platform reads these from the game’s live release.

  1. On the game’s page, choose Make a pack, then give it a title and an address. The address is also the pack’s id.

  2. The editor opens on the pack’s files, under pack/:

    • pack.json
    • levels/, scenes/ and prefabs/
    • assets/ (PNG, WebP, OGG, MP3, WAV, WOFF2)
    • audio/ (synth sounds)

    You start with a copy of the game’s first level and its scene.

  3. Edit levels in the visual level editor. The game’s tilesets and prefabs are there to use; they are read from its live release, and you can read them but not change them. Play here previews the game with your pack inside it.

  4. Release checks the pack against the game’s live release (every document, and every reference to a prefab, scene or level). The release then waits in the owner’s queue.

A pack is data and media only: no code (ADR 0015). Packs can use everything the game exposes as data: its prefabs, built-in components, rule actions, HUD and menus.

Use plain ids in a pack. When a pack is loaded, every id it defines becomes <pack id>:<id>: scenes, levels, prefabs, items, asset keys and the asset bundle.

References inside the pack find the pack’s own ids first, then the game’s. So a pack can:

  • place the game’s coin prefab;
  • extend the game’s player;
  • send the player back to the game’s title scene.

It can never replace the game’s own content. One more rule applies to component data: a string value that equals an id the pack defines counts as a reference to it.

pack.json example:

{
"schemaVersion": "0.1",
"id": "ice-caves",
"version": "1.0.0",
"title": "Ice Caves",
"authors": [{ "name": "Pat" }],
"target": { "gameId": "platformer", "gameVersion": ">=0.1.0" },
"contents": {
"start": ["cave-1"],
"levels": [{ "id": "cave-1", "path": "levels/cave-1.json" }],
"scenes": [{ "id": "cave-1", "path": "scenes/cave-1.json" }],
"prefabs": [{ "id": "ice-spike", "path": "prefabs/ice-spike.json" }],
"assets": [{ "key": "ice.tiles", "type": "image", "src": "assets/ice-tiles.png", "mediaType": "image/png" }]
}
}

target.gameId is the game’s manifest id. contents.start lists the scenes the Expansions menu offers; it defaults to the first scene.

  • Review. The game’s owner sees submitted versions on the game’s management page, under Pack queue. They can Try it, then approve or reject it. A rejection can include a note, which the creator sees on their pack’s page. The newest approved version is the one players get.

  • Players opt in. On the game page, Expansions lists the approved packs. Each pack can be turned on or off; the choice is saved to the player’s account, or kept in the browser for guests.

    Turned-on packs show up in the game’s title menu under Expansions. If a pack fails to load or breaks the game, the game starts without packs.

  • Moderation. Packs can be reported like games, and moderators can take them down.

Fork (or Remix) on a game’s page copies the game’s live release into a new game of yours. Its history and drafts are not copied.

The new game:

  • records where it came from: lineage in game.json and an attribution line on its page;
  • links back to the original.

A fork, made when the original allows only fork, stays private. A remix can be published.