Update a game with a new version
klyo_update_gameUpload a NEW VERSION of a game that is already on the account (slug): from a file (upload_id from klyo_upload_package) or from a public zip_url. The game keeps its address, name, description, scores and hearts; only the files change. Do not create a second game to ship a fix: that splits players and records between two addresses. A published game does NOT change right away: the new version goes to a waiting room with its own preview address and replaces any version that was already waiting there, including an open workshop from klyo_game_patch; the response carries a measurement of the files (zmiana: how much code, visuals and sound changed, new files and texts, and a suggested kind: poprawka fix | funkcja feature | interfejs interface). A game that is not in the catalogue yet gets the new files at once. Then two ways: the owner plays the preview and clicks “Release” in the studio, OR you call klyo_release_version. A clip for the new version is recorded by a person in the studio; the assistant does not record.
Examples: • Upload the fixed version of lantern-thief from this address • Replace my game's package with the new one, I fixed a bug • Update the game without changing its address or name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Game address on the account, for example lantern-thief (from klyo_my_games). | |
| zip_url | No | Public https address of the NEW ZIP package. Only when the package really is online. | |
| upload_id | No | ID of the NEW package sent to klyo (see klyo_upload_package). Preferred when the file is on disk. |