austin's Forum Posts

  • Yep, it's on our todo list to integrate our Payments API into the Scirra plugin.

  • I updated the plugin again, it turns out it still wasn't working quite right when the game was minified (it only appeared to work correctly because it the unminified version was being stored in app cache, which clearing browser cache doesn't catch).

    It should work properly for exporting and minifying now.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • We take 20% of any revenue generated through Clay.io (both on sales of your game, and in game purchases using our payments API). If your game is completely free, our service is completely free.

  • Can you PM me what the URL is that keeps showing for you?

  • The payment API doesn't work with Facebook credits at the moment, but it's definitely on our todo list

  • 1) There already is a way and documentation is under the "EXPRESSIONS" section under screenshots. So you would have an event with the Clay.io condition "screenshot taken" and action post to Facebook - then for the picture field, use the Clay.io expression Screenshot SRC"

    2) I think it is possible, I've added that to my todo list

  • Sheepy I've updated the game settings page to make that more clear, thanks for pointing it out

    Hmm, yes it would seem I didn't upload the file to the correct spot - download again here

  • http://clay.io/plugins/scirra/test.capx

    That's a very basic implementation of it. If you hold the space bar down, the score will go up, when you left click on the score, it will post it and show the leaderboard.

    Let me know if you figure out what's going wrong!

  • 1) As of right now you have to override our CSS on your page. Our CSS stylesheet is inserted after the first <script> tag, so as long as you have your CSS after the first <script> tag in index.html, all of our stuff should get overridden.

    Chrome's dev tools/firebug will be your best friend for this, but the structure for achievements is:

    .clay-achievement

    .clay-achievement-header

    .clay-achievement-content

        (if there's an icon for the achievement you'll have these as well)

        .clay-achievement-icon

        .clay-achievement-description

        (endif)

    .clay-achievement-close

    2) The payment API being integrated into the plugin is on the todo list. I've integrated "Show all achievements" and updated the plugin with it

    3) Encryption isn't possible right now. I'm not familiar enough with Construct 2 to know if you can create a backend for your game. So long as you have a backend, you'll be able to. Perhaps there's a way to get it working well with the AJAX plugin, I'll have to take a look

    4) Fixed (no need to update the plugin for this fix to work)

  • Thanks Ashley. The plugin has been updated with screenshot support (you can even post the screenshots to Facebook & Twitter).

    Also added is the "Debug Mode" property - if this is enabled, achievements you earn won't show up on your Clay.io profile or stream, and high scores won't be added to live data. Just make sure to turn that off before publishing your game!

  • Updated the plugin with everything other than the screenshot fix. Is there a good way to access the SnapshotCanvas method and the later canvassnapshot system expression?

    What I had to try and test it out was extremely hacky and wasn't working yet

    cr.system_object.prototype.acts.SnapshotCanvas( 0, 100 );

    setTimeout( function() {

         var ret = { set_string: function( str ) {

              window.open( str );

         } };

         cr.system_object.prototype.exps.canvassnapshot( ret );

    }, 500 );

  • Thanks guys! I'll get those fixed done and uploaded later this evening

  • Hey folks, I just finished up version 0.1 of the Clay.io Construct 2 plugin!

    I'm one of the co-founders of Clay.io and we're trying to do a couple things with the site. One is we've created a cross-platform marketplace just for HTML5 games - you can check that out here. The other thing we're doing, which pertains to this plugin, is the Clay.io API.

    Our API makes a lot of the high level features in game development easy to implement. These features include leaderboards, achievements, analytics, etc.

    For the Scirra plugin, the following features have been implemented:

    • Leaderboards
    • Achievements
    • Analytics
    • Posting to Facebook Walls
    • Tweeting
    • Posting to the Clay.io stream
    • Cross Promotion
    • Ratings

    Here's the link to the plugin & documentation for it.

    This is the first version of the plugin, so do let me know if you have any suggestions on how I can improve it, or if you run into any bugs.

    If you'd like to add advertisements and cross promotion to your game, see our complimentary plugin for it.