Uploading Your Game

We have two ways to add your game to Clay.io. The first involves filling in several form fields about your game, while the second involves creating a manifest.json file with all of the info.

User-Input Format

With the user-input format of adding your game to Clay.io, simply head over to the "Add Game" page, select "Fill Out Details Here" and provide responses for each field.

Chrome Web Store Format

We wanted our upload process to be as easy as possible. Based on developer feedback, the best way to do that was to use the Chrome Web Store as a model. As such, if you've uploaded a game to the Chrome Web Store, this will be cake.

The upload process involves packaging all your client-side app files together, along with a manifest file into a .zip file. Your manifest file (manifest.json) includes some settings and relative paths for everything in your game folder.

Here is an example manifest.json file.

{
  "name": "My Really Cool Game",
  "description": "Better than chocolate",
  "version": "1.0",
  "app": {
    "launch": {
      "local_path": "index.html"
    }
  },
  "icons": {
    "128": "icon_128.png"
  }
}

Click here for more information on how to structure your manifest file.

Once you have your game packaged in this format, you can upload it here.

The first field, for subdomain refers to the URL at which your game will be accessible on clay. Specifying "mygame" would result in your game's "play" page being at http://mygame.clay.io

Provide Feedback

We take customer support, and the quality of our developer tools and documentation very seriously. We want to hear how you think we can improve our documentation! Let us know if anything is missing, or unclear on this documentation page, and we'll get that fixed!

1369345049