Translations

Know another language? Translate this tutorial!

Publishing Your Game to the Clay.io Marketplace

Favourite 35 favourites
Tutorial written by austinOriginally published on 17th, July 2012 - 5 revisions

Clay.io is a hub for HTML5 games that provides both a marketplace and API. This guide will explain how to publish your Construct 2 game to the Clay.io Marketplace.

Step 1

Export your project for the Chrome Web Store. Note that any m4a files (for audio on iOS) will not be exported. If you want your audio to transfer over, use the default HTML5 export. The only difference is you will have to manually input some of the game information and icons.

Exporting
Use the default settings in the next window

Export Settings
Right click the folder that your game was exported to, and create a zip file from it.

Create zip file

Step 2

You'll need to signup for Clay.io here: http://clay.io/join

Once that's completed, head over to the developers' page and click "Upgrade Account to Developer".

You'll be asked to specify your developer name (For example: "Vigil Games"), Unique Key/URL Location (your developer page will be accessible at clay.io/developer/TheKeyYouMake), URL (if you have a website) and Bio (a short description about your, or your game studio).

Next up, you can add your game here.

Subdomain is where your game will be located on Clay.io (if you pick "mygame", you'll be able to access it from http://mygame.clay.io)
Price leave this at 0.00 unless you plan on charging for your game, if so, set the price you wish to charge
Zip File select the zip file you created for this game in the previous step.

Adding Game
Click "Add Game".

Step 3

Your game has been uploaded, now we just need to tie up some loose ends.

You'll need to upload a 440px by 280px image for your game. This is used for promotional purposes (the Marketplace links to your game from this image).

Promo Image
You can optionally upload screenshots that will be shown on your game info page. This can be done in the "Media" section of settings.

Media
Click the big orange "Publish" button at the bottom of the settings page and your game will be submitted for approval (typically takes less than 24 hours)

That's it!

If you're interested in integrating some of our API feature like high scores, achievements and posting to Facebook & Twitter, have a look at our tutorial for that.

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Comments

2
OddConfection 7,380 rep

Always good to have more publishing/monetisation options. Thanks for posting the tutorial.

Wednesday, July 18, 2012 at 11:29:48 AM
1
blackmwana 2,523 rep

seems like a cool option, worth checking out

Wednesday, July 18, 2012 at 9:31:56 PM
0
Paradox 41.8k rep

Do you have anything special for demo/lite versions? or would they be added as separate games?
(for example, in game offer links for the paid version)

Monday, September 24, 2012 at 2:34:07 AM
1
austin 6,387 rep

As of right now they have to be separate games. However, you can use the C2 plugin to check if the user has purchased the game and only load the free levels/content if they haven't (making it only a single game).

Monday, September 24, 2012 at 2:50:58 AM
0
milkyw 2,749 rep

Can you use achievements and leaderboard without publishing the game to clay.io. I know it works as I tested, but I mean is this way only allowed for development purposes, or can I keep my game published to my site but not published to clay.io and still use clay.io leaderboard?

Saturday, September 29, 2012 at 10:08:29 AM
0
austin 6,387 rep

No need to put your game on Clay.io in order to use leaderboards and achievements :)

Saturday, September 29, 2012 at 9:16:45 PM
0
farflamex 5,891 rep

It's a bit confusing after you hit the 'Publish' button, it goes through the upload process, then just goes straight back to the same screen. No indication of whether or not the upload is completed or there's an error. I've no idea whether or not it worked, I guess you just have to wait. But they need to fix that so there's either a confirmation or error message.

Saturday, November 10, 2012 at 7:10:31 PM
0
austin 6,387 rep

I just tested to be sure, it does show a success message. Are you still not getting any indication?

Wednesday, December 12, 2012 at 7:46:48 PM
0
FredFors 8,729 rep

@austin Are there any restrictions in terms of game screen size? Like, is there a max width/height, or should we use fullscreen?

Saturday, January 12, 2013 at 10:15:22 PM
0
austin 6,387 rep

@Era no restriction, full screen is best

Sunday, January 13, 2013 at 7:12:45 PM
0
teacherjon 2,163 rep

Hi,

One of my students made the zip file from the google chrome export, uploaded it, and then when he published it, received an error that the path to file was missing.

He typed "index.html" in the text box that was highlighted, republished and got a green message saying published successfully, but also a red message saying error saving file.

Is the path to file "index.html" or "\index.html"?

Thanks,

Jon

Thursday, April 04, 2013 at 9:23:15 PM
0
GG-Works 3,793 rep

<div class="quoted-text">It's a bit confusing after you hit the 'Publish' button, it goes through the upload process, then just goes straight back to the same screen. No indication of whether or not the upload is completed or there's an error. I've no idea whether or not it worked, I guess you just have to wait. But they need to fix that so there's either a confirmation or error message.<div class="author">quoted from <strong>farflamex</strong></div></div>

I'm actually having the same exact problem, not sure if its a browser thing (Firefox). But it takes a few minutes and all I see is the "connecting" on the tab, the page stays the same. After some time It sends me right back to the same page as if I haven't uploaded a game at all. I wonder if there is a file size limitation as my current demo is 82MB (music and such).

Lack of fail or warning messages kinda irks me.

I'm wondering if its because I'm using a different kind of file compressor. Windows has a default, then there's Winzip (which costs money). I'm using jZip... I'm thinking it's not recognizing it or something.

Saturday, April 13, 2013 at 5:16:47 PM
1
Dzaky Alkaff 2,153 rep

Mr Austin, can u please write a construct tutorial to make multiplayer game using clay.io?..

Tuesday, July 09, 2013 at 10:24:18 PM
0
piszozo 3,386 rep

no thats not it, site wants exact pixel as images to publish it and i cant do it lol

Monday, July 22, 2013 at 8:13:45 PM
0
mahdisml 4,999 rep

Clay.io is a good api for games !!!
thanks austin !!!

Sunday, September 15, 2013 at 1:50:04 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.