How Arcadible Works
This page defines the parts of Arcadible and the terms the rest of the docs use. Each section is the one place a term is explained; other pages link here.
The parts
- The Arcadible CLI (
arc) creates projects, checks them, and deploys them, from your machine or from CI. - The store is where players find games: the Arcadible app and arcadible.com show the same store pages.
- The play page at
play.arcadible.comruns a game. The store's Play button opens it, and so does a play link. - Arcadible Studio is where you see your games, their builds and releases, and connect GitHub.
- The Arcadible SDK is optional: it's how your game works with Arcadible, such as showing a loading screen, keeping saves across versions, and knowing who's playing.
Your game
A game is a project with an arcadible.toml. Everything Arcadible knows about it comes from the project's files:
README.mdgives the title, tagline, bio, and description, in Arcadible Markdown..arcadible/holds the store art: the icon, cover, banner, poster, splash, and screenshots.arcadible.tomlholds the rest: theid, thehandle, how to build the game, and the other fields in Arcadible Manifest. Theversioncan be inpackage.jsoninstead. Seeversion.
Together they resolve into the manifest, which arc inspect prints and arc validate checks. There are no forms to fill in on Arcadible: the store page is versioned with the game, reviewed in pull requests, and released with the build. See Sources for how the three files merge.
id and handle
- The
idis a UUID thatarc initwrites, and it never changes. The account that first deploys anidowns the game. - The
handleis the game's name in links, such asstar-drift. It's optional, unique among games, and can change. Without one, links use theid.
Versions, releases, and builds
- A version is the game's
version, in semver:1.2.0, or a prerelease such as1.2.0-beta.1. - A release is one attempt to publish a version.
arc deploystarts one, from your machine or through GitHub Actions. It ends published or failed. See Releases. - A build is a published version: your game's files, served exactly as they are from their own origin,
<site-id>.arcadible.io. Every build stays playable at its version link for as long as the game exists, and a build can't be deleted on its own.
Each version publishes once. To ship a change, bump the version and deploy again.
Channels
The version decides where a build goes:
| Version | Channel | What it changes |
|---|---|---|
A release, such as 1.2.0 | production | What players get, and the store page, which is rebuilt from the release |
A prerelease, such as 1.2.0-beta.1 | staging | Nothing players see. It's playable at its staging and version links |
Use staging to try a build on Arcadible itself before releasing it. A prerelease never changes the store page, so it can't make a game public. To see what it would publish, open the game's Store tab in Arcadible Studio and choose Staging.
Visibility
visibility decides where a game is listed. Either way, anyone with a link can open the store page and play.
| Visibility | Listed in the store, search, the developer's profile, and "More by" |
|---|---|
unlisted (default) | No |
public | Yes |
Like the rest of the store page, visibility changes with a production release.
Links
Every link a game has, for Star Drift:
| Link | Opens |
|---|---|
https://arcadible.com/play/star-drift | The store page |
https://play.arcadible.com/star-drift/ | The play page, with the latest production build |
https://play.arcadible.com/star-drift:staging/ | The latest staging build |
https://play.arcadible.com/star-drift:1.2.0/ | One version's build, in either channel |
https://arcadible.com/@redshift | The developer's profile, with their public games |
- The
idworks wherever the handle does, such asplay.arcadible.com/<id>/. - Play links are lowercase and end in a slash. Other forms redirect to them.
arc openopens the store page, andarc playthe play page.
The sandbox
On the play page, your game runs in the Arcadible sandbox: its build's own origin, embedded with restricted permissions and cross-origin isolation. A game that works on a local server can behave differently there; arc serve runs it the same way on your machine. See Runtime.
Arcadible Studio
Arcadible Studio shows what your project made: your games, their builds and releases, their plays and likes, and what their store pages are made of. It doesn't change what ships with a release: a game is created by its first deploy, and its store page changes when you deploy. Some of Studio's names differ from these docs':
| Studio | The docs |
|---|---|
| Builds (the page) | Builds, and the releases still on their way or failed |
| arc deploy | A direct deploy |
| GitHub | A git deploy |
| In production | The latest build in the production channel |
| In staging | The latest build in the staging channel |
| Store | The store page |
Glossary
| Term | Meaning |
|---|---|
| Arcadible SDK | The optional library that's how a game works with Arcadible. See Arcadible SDK. |
| Arcadible sandbox | Where a game runs: its build's own origin, embedded in the play page. See The sandbox. |
| Arcadible app | The Arcadible app, for macOS, Windows, and Linux, which shows the store and opens games in their own windows. |
| Arcadible Studio | Where developers see and manage their games. studio.arcadible.com |
| browser storage | localStorage, IndexedDB, and Cache Storage together. It's per build: see Storage and saves. |
| build | A published version, served from its own origin. See Releases. |
| channel | production or staging, chosen by the version. See Channels. |
| deploy | What arc deploy does: check, build, pack, and start a release. |
direct, git | The two deploy methods: a deploy from your machine, or a release tag that GitHub Actions builds. See Deploying from GitHub. |
| handle | A game's name in links. See id and handle. |
id | A game's permanent UUID. See id and handle. |
| manifest | The resolved description of a game, from the README, .arcadible/, and arcadible.toml. See Your game. |
| play page | play.arcadible.com/<handle>/, which runs a build. See Links. |
| prerelease | A version with a suffix, such as 1.2.0-beta.1, which goes to staging. |
| publish | What Arcadible does to a release that passes its checks: the build goes live in its channel. |
| release | One attempt to publish a version. See Releases. |
| save | A named document the play page keeps for a game, across its versions. See Saves. |
| store page | A game's page in the store, built from its manifest. See Your Store Page. |
| visibility | Whether a game is listed. See Visibility. |