Create the game listing
gamealia_create_gameCreates a new draft game listing in your active developer account with slug, localized text, tags, settings, and optional cover/thumbnail, ready for version upload and review after autotest passes.
Instructions
Creates a new game listing in the active developer account (needs login; not idempotent: a taken slug fails): slug, title/description/controls in es and en, tags, orientation, multiplayer, ads on/off, backend hosts, permissions; optionally uploads a cover and thumbnail (make them with gamealia_generate_cover). The game stays a draft, not public, until a version is approved. Call it once per game, after gamealia_run_autotest passes; to change an existing listing use gamealia_update_listing. Returns the game (id, slug, status); next gamealia_upload_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | URL slug and game host (<slug>.gamealia.app): a-z, 0-9 and -, 3-40 chars, starting and ending with a letter or digit, not reserved (www, api, cdn, ...); fixed once live | |
| tags | Yes | Tags, three kinds in one array: 1-6 categories (genres: what kind of game), up to 8 mechanics (how it plays: match-3, merge, physics, tower-defense…) and attributes (multiplayer, mobile…). Players browse and search by all three. | |
| texts | No | Developer-written listing text for one or many locales in one call, e.g. {fr:{title, description, controls}, de:{...}}. Limits (trimmed): title 2-60, description 20-2000 or "", controls <= 500 or "". Only the fields given change; {} approves that locale's machine translation as is; null removes the locale. These texts always win over machine translation. Read the current texts and their status with gamealia_get_status {texts:true}. | |
| title | Yes | 2-60 characters. Prefer {es, en}; a plain string is used for both languages | |
| controls | No | 0-500 characters. Prefer {es, en}; a plain string is used for both languages | |
| coverPath | No | Cover image file (PNG/JPEG/WebP, >= 1200x630, ~1.91:1, <= 2 MB) | |
| isolation | No | coop-coep only for builds that need SharedArrayBuffer (threads) | |
| thumbPath | No | Thumbnail file (square, >= 512x512, <= 2 MB) | |
| adsEnabled | No | Show Gamealia ads in this game (revenue share) | |
| description | Yes | 20-2000 characters. Prefer {es, en}; a plain string is used for both languages | |
| multiplayer | No | Players per room, or null for single player | |
| orientation | No | Screen orientation the game needs; landscape or portrait shows mobile players a rotate-device hint (default any) | |
| permissions | No | Browser permissions the game needs (microphone/camera), each with a justification; [] removes them. Replaces the current list and its justification (stored in the listing; the reviewer sees it). gamealia_analyze_project suggests them when the build calls getUserMedia. A change takes effect only when a version tested with it is approved (manual review): upload and submit a new version afterwards. | |
| backendHosts | No | Your own servers the game talks to, e.g. mp.example.com or *.example.com |