Your repo
pushplay.json
The one file that tells PushPlay what your game is, how it starts and how it plays. Every field, with its limits.
pushplay.json sits at the top of the repo, next to the game. A repo can also hold several games, each in its own games/<id>/ folder with its own pushplay.json and art; the folder’s name is then the game’s id.
A complete example
A web game with every field most games use:
{
"$schema": "https://raw.githubusercontent.com/Visual-Zone-Development/pushplay-kit/v1/schema/manifest.schema.json",
"id": "star-courier",
"name": "Star Courier",
"description": "Pilot a tiny courier ship through an asteroid field, grabbing parcels before the clock runs out.",
"version": "1.0.0",
"entry": { "web": "index.html" },
"art": { "cover": "art/cover.svg", "hero": "art/hero.svg" },
"controls": "gamepad",
"inputs": ["gamepad", "keyboard", "mouse", "touch"],
"players": "1-2",
"genres": ["arcade", "shooter"],
"modes": ["single", "local-coop"],
"tags": ["space", "neon", "fast-paced"]
}
Keep the $schema line: editors such as VS Code then autocomplete every field and underline mistakes as you type.
What’s required
- By the schema:
id,name, and eitherentryorrelease. The schema rejects any field it doesn’t know, at every level, so a typo is an error, not something silently ignored. The check suggests the field you probably meant. - By the check:
inputs, because it plays the game with each one (Inputs and labels). A game that plays from your own releases is only asked for it. - Asked for, with a ⚠ note: a
descriptionof at least 20 characters,genres,controls, and your own art in place of the starter’s. A new game builds and plays without them; add them before you share it.
Every field
Types and limits are read from the build kit’s schema, the same file the check uses.
$schemastringThe schema's address, so your editor can autocomplete and check the file as you type. Pinned to v1, the version every game builds with.
e.g. "https://raw.githubusercontent.com/Visual-Zone-Development/pushplay-kit/v1/schema/manifest.schema.json"
The game's permanent id. Players' saves and its listing follow it, so never change it. In a repo of many games it must match the game's folder name.
lowercase letters, digits and -, starting with a letter or digit
e.g. "star-courier"
The title players see.
1–80 characters
e.g. "Star Courier"
1–3 plain sentences: what you do, and what makes it fun. Shown on the game's page. The check asks for at least 20 characters.
up to 2000 characters
e.g. "Pilot a tiny courier ship through an asteroid field, grabbing parcels before the clock runs out."
versionstringA label players see next to the build. It isn't what makes PushPlay update (every new build does), so change it only when you want players to see a new number. Online, only players on the same version play together.
up to 64 characters
e.g. "1.2.0"
Written by pushplay promote when a game moves out of a repo of many into its own, so players' copies follow it. Don't edit it.
owner/repo
typestringAn old hint, web or native. PushPlay works it out from entry, so you can leave it out.
one of web, native
The file that starts the game on each platform: web (an HTML page) or a program for linux-x64, linux-arm64, windows-x64, darwin-arm64 or darwin-x64. A relative path with forward slashes. With build.outputs, it is a path inside that platform's folder.
keys: web, linux-x64, linux-arm64, windows-x64, darwin-arm64, darwin-x64 · each up to 512 characters
e.g. { "web": "index.html", "linux-x64": "game.x86_64" }
buildobjectHow the workflow makes the game's folders. Leave it out when the repo is the game as it is, or when npm run build writes to dist.
build.presetstringstatic ships the folder as it is; vite runs your npm build.
one of vite, static
build.outputstringThe folder an npm build writes. dist when not given.
up to 256 characters
build.commandstringA command run in the game's folder before packaging, in place of npm run build. It runs on a GitHub Linux runner with PUSHPLAY_BUILD=1 set.
1–1000 characters
e.g. "npm run build:pushplay"
build.outputsobjectThe finished folder for each platform, made by your own build or committed to the repo. Every platform in entry needs a folder here, and the other way round.
keys: web, linux-x64, linux-arm64, windows-x64, darwin-arm64, darwin-x64 · each up to 512 characters
e.g. { "web": "export/web", "linux-x64": "export/linux" }
Play the game from the repo's normal GitHub releases, with nothing built for PushPlay. true finds each platform's zip by its name; an object names them, with * where the name changes. Not together with build.
keys: web, linux-x64, linux-arm64, windows-x64, darwin-arm64, darwin-x64 · each up to 200 characters
e.g. { "linux-x64": "StarDrift-*-linux.zip" }
channelsarray of objectsOther versions players can add beside the main one, each with its own saves and updates: a beta, a demo, a branch. Up to 8.
up to 8 items
e.g. [{ "id": "beta", "name": "Beta", "prerelease": true }]
Stays the same when you rename the channel, so players who chose it keep it.
lowercase letters, digits and -, starting with a letter or digit
What players see.
1–40 characters
channels[].aboutstringOne line about the channel, shown under its name.
up to 200 characters
channels[].prereleasebooleanReleases marked pre-release on GitHub count too.
channels[].tagstringOnly releases whose tag (or title) matches. * is any run of characters.
1–200 characters
e.g. "demo-*"
channels[].releaseobjectWhich zip is which platform in those releases, when the names differ from the main release.
keys: web, linux-x64, linux-arm64, windows-x64, darwin-arm64, darwin-x64 · each up to 200 characters
channels[].branchstringPlay a branch instead of releases. With the workflow, pushes to it publish to their own release, pushplay-<branch>. A channel follows a branch or releases, not both.
a branch name
e.g. "next"
launchobjectArguments and environment variables for a native build, per platform.
keys: linux-x64, linux-arm64, windows-x64, darwin-arm64, darwin-x64 · each { args: string[], env: { NAME: value } }; no web
e.g. { "linux-x64": { "args": ["--fullscreen"], "env": { "NAME": "value" } } }
webobjectHow the web build is served.
web.isolatedbooleanServe the web build cross-origin isolated, which engine exports that use threads (SharedArrayBuffer) need. Everything the game loads must then be its own files.
artobjectThe pictures players see first, in up to four shapes. A game with a web build gets them made from a screenshot when there are none; a game without one needs cover and hero.
art.coverstringThe library tile. Must include the game's title, big and bold.
1–512 characters
e.g. "art/cover.svg"
art.herostringWide places, such as the top of the game's page and Discover. No text: PushPlay writes the title over it.
1–512 characters
e.g. "art/hero.svg"
art.bannerstringVery wide places, such as the Continue banner. Drawn from the hero when not given.
1–512 characters
art.landscapestringPlaces near 16:9: phones, tablets, TVs. Drawn from the hero when not given.
1–512 characters
Written by the build, from the check's screenshot. Don't set it.
each up to 512 characters · up to 8 items
gamepad once the game works with a controller; keyboard-mapped for a game that has no controller support yet.
one of gamepad, keyboard-mapped
e.g. "gamepad"
tagsarray of stringsUp to 8 words from the curated list: mood, look, setting and play. A word on no list is dropped, and the check names it.
each a lowercase word or two · up to 8 items
e.g. ["space", "neon"]
1–3 genres from the fixed list, the main one first. Players browse the Library and Discover by them.
each a genre's slug · up to 3 items
e.g. ["sports", "party"]
modesarray of stringsHow the game is played together. Players filter by them under Players (Solo, Co-op, Versus, Party). A game that says nothing counts as Solo, or Party when it takes phones.
each one of single, local-coop, online-coop, local-versus, online-versus, phones · up to 6 items
e.g. ["single", "local-coop"]
playersstringHow many can play: one number or a range. Players filter by it under How many.
up to 16 characters
e.g. "1-4"
onlinebooleanAn online multiplayer game on PushPlay's relay. It may then connect to the relay, and nowhere else.
partybooleanA party game: it runs on the TV and everyone plays from their phone. Adds the Party mode and the Phones as controllers label.
phoneobjectThe game is laid out for a phone. inputs must then include touch. Earns the Phone label once the phone pass passes.
e.g. { "orientation": "portrait" }
portrait, landscape, or any for a game that lays itself out both ways. The app turns the game for you: don't lock it yourself.
one of portrait, landscape, any
What the whole game, menus included, plays with. The check plays the game with each one alone and holds it to exactly this list, and the game's Plays on and Plays with labels are earned from it.
each one of gamepad, keyboard, mouse, touch, phones, motion, camera · 1–7 items, no repeats
e.g. ["gamepad", "keyboard", "mouse", "touch"]
camerastringFor a game that lists camera in inputs: where its camera is. device is the screen's own (a webcam), phones is each player's phone in a party game, and both takes either. Without it, camera with phones means the phones, and camera alone the device's.
one of device, phones, both
e.g. "phones"
Entry, build and release
Platforms are named the same way everywhere: in entry, build.outputs, release and launch.
| Key | Is |
|---|---|
web |
A web build: a folder with an HTML page. Plays everywhere: the launcher on every system, the app on phones, tablets and Android TV, and Discover. |
linux-x64 |
Steam Deck and 64-bit Linux PCs |
linux-arm64 |
Arm Linux |
windows-x64 |
Windows, including Windows on Arm |
darwin-arm64 |
Apple silicon Macs |
darwin-x64 |
Intel Macs, and Apple silicon through Rosetta |
Paths are relative, with forward slashes: no leading /, no \ and no ... Upper and lower case matter.
There are three ways to say where a build comes from. Pick one:
- The repo is the game.
entryalone:{ "web": "index.html" }. With an npmbuildscript, the workflow runs it and shipsdist(orbuild.output). - Your build makes folders.
build.outputsnames each platform’s folder andentrythe file inside it that starts the game. The folders can be committed, made bybuild.command, or handed over by a job of your own (Engines). - Your releases already have zips.
release, with nobuild. Your own releases covers how files are matched.
A native entry must be a real program for its system: an ELF binary, an AppImage or a script starting with #! on Linux; an .exe on Windows; the binary inside Game.app/Contents/MacOS/ on a Mac. There is no Proton: a Windows-only game doesn’t play on a Steam Deck in PushPlay.
Channels
Players can add another version of your game beside the main one, from Versions on its page. Each version is its own game in their library, with its own saves, and updates by itself. channels names the ones you mean, and lists them first:
"channels": [
{ "id": "beta", "name": "Beta", "about": "Tested by me first.", "prerelease": true },
{ "id": "demo", "name": "Festival demo", "tag": "demo-*", "release": { "linux-x64": "StarDrift-demo-*.zip" } },
{ "id": "next", "name": "Next", "about": "Every push to the next branch. May break.", "branch": "next" }
]
A channel follows either a branch or releases (prerelease, tag, release), never both. Up to 8. Removing one leaves players’ copies as they are, with a note that it isn’t offered any more.
Things to know
- Edits show up without a build. PushPlay reads
pushplay.jsonfrom the default branch each time it looks at the repo, so a new description or genre reaches players within minutes. - The id is forever. Saves are kept under it (
<id>-save-v1inlocalStorage), and players’ copies follow it across updates and repo moves. Rename the game withname, neverid. versionis a label. Every new build is an update, whatever its version. Change it when you want players to see a new number.- Studio wins. Once a game is published, the genres, tags and modes its maker sets in Studio replace the manifest’s on Discover.
- Nothing else PushPlay-specific belongs in the repo. Only
pushplay.json, the art and the workflow file. Anything you don’t want shipped (design files, tools) can be listed in a.pushplayignore, as in.gitignore.
Edit this page on GitHub · Something missing or wrong? Tell us.