austin's Recent Forum Activity

  • I spent the weekend revamping the analytics part of the API/plugin - you can read about it here.

    Considering Construct 2 makes it easy to get your games on a variety of platforms/app stores, these analytics make it easy to see which are providing the most value!

    Hope you like it - you can give your feedback here

  • It does for the most part - just trying to figure out some issues it has with Android devices, and scaling of the user interface elements, then it should be good to go.

    You can follow progress here: clay.io/members/community

    The reason you get a black screen is you have to copy over the following files into the .zip Construct 2 generates (you can find them in the Clay.io plugin folder):

    <img src="http://new.tinygrab.com/a160021eefb79ddd27c7a70080cc4ca71e8abc2a88.png" border="0" />

  • If you go into your game's settings, you can uncheck "Always show Clay.io login box on load when a player isn't logged in" so the login box doesn't show up when the game loads. Then just pass the user's name as part of the C2 action (ask for their name with a text input, and pass that value) - doing this should bypass the login completely, and just use the name you grabbed.

    The Safari crashing might have been a fluke - I haven't had issues with it, but I know Safari and Chrome on iOS randomly crash a lot for me.

    Can you email me (austin@clay.io) what gave you a hard time when you tried logging in as a guest or closing the window? I probably won't get notifications on this thread, so that email is best, or posting in the Clay.io community

  • Sorry I never got back to this, it's difficult for me to sift through the posts on this forum to find Clay.io related issues. We do have our own community now, so that's a good place for things like this.

    As for the issue, are you still having the same problem? Does a Facebook window not open when you click the Facebook icon? It's probably best to respond to this via my email austindnx@clay.io or make a post on the community

  • For anyone who comes across this in the future, here are the steps to get the game from C2 -> Windows 8 (steps 3 & 4 might not be necessary for you):

    1) Export to Windows 8

    2) Open the sln file in VS 2012

    3) Add the Windows Library for Javascript 1.0 reference (C2 was trying to use it RC version for me)

    3a) Remove the .RC from the WinJS references in index.html

    4) Add windows app store publisher name to the <identity> tag in package.appxmanifest (should be something like CN=YourName)

    5) Download clay.io/api/api.js, clay.io/api/api.css, clay.io/socket.io.js

    6) Shift + Alt + A to add existing scripts, select the 3 you just downloaded

    7) Include in index.html the following (inside <head></head> works, just needs to be before c2runtime.js):

    <link rel='stylesheet' href='api.css' />

    <script src='socket.io.js'></script>

    <script src='api.js'></script>

  • Clay.io now has a community/forum!

    You all are more than welcome to continue posting to this thread, and I will continue checking it, but I think everyone would be better off if you started posting issues/suggestions/etc there instead. It will be easier for others to sift through already sorted out issues if they're in their own threads on that board, rather than inside this 24 page thread ;) The other benefit of the new forum is I will likely be checking that more often.

    You can access the community here: http://clay.io/community -- if you have a Clay.io account, you should already be logged in.

  • Already responded to you via email, but for the benefit of everyone else:

    ou don't need to publish the game to Clay.io for use the achievements and leaderboards, you just need the game key to exist on Clay.io (add the game, don't have to publish it).

    Assuming this is for Manic Soccer, to get it on the Windows store, I would just use Construct 2's exporter, it's probably a bit better than ours since it's using the local files instead of just pointing to our site. Just be sure that their exporter creates a privacy policy in the settings charm (when testing, swipe in the right 'charm', click settings and see if a privacy policy link shows up). If it doesn't, I can give you info on how to add one. Microsoft will reject the app if it doesn't have that.

    Also, I've updated the docs page so it doesn't have a broken link on it, thanks for pointing it out!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the link, both should be fixed now :)

  • stefanp - the leaderboard thing should be fixed, same for payments - let me know if they both work for you. If you're curious about the payments issue, the response Paypal sends back isn't completely standardized, so it wasn't sending back everything in the same format that it usually does, so I had to account for that.

    I finally upgraded to iOS6 and tried out the close icon, and it works. I'm guessing it's some sort of conflict with Construct 2, can you send me the link for you game so I can try it out?

    I did make one change that *might* fix it, so do try once more and let me know.

  • I'll get to this thing probably Friday, if not then Saturday. Sorry about the slow response, I'm having to sacrifice some support time for product development tie.

  • Weishaupt we don't have a way to logout through the API - is that something you think would be valuable for us to add? If we did do it, you would call the logout action, and Clay.io would bring up a window asking you to confirm if you want to logout. We'd have to do this so we don't have games that are malicious by logging users out of Clay.io every time they visit the game ;)

    As Paradox said, if you just want to logout, you can from Clay.io

    Paradox I think Windows 8 is okay with inline scripts so you can just toss this into your index.html (somewhere in between <head> and </head> - test it by swiping in the charm, going to settings and seeing if the privacy link shows up)

    <script type='text/javascript'>

    WinJS.Application.onsettings = function (e) {

        e.detail.applicationcommands = {

            "about": {

                title: "Privacy", href:"http://clay.io/privacy"

            }

        }

        WinJS.UI.SettingsFlyout.populateSettings(e);

    };

    </script>

    I think that will do it, but I do remember when I was adding it to Word Wars, I may have had to do something else different. I'm not around that code right now so I can't take a look, but if that doesn't bring up the link, I can take a look

  • moenchlax should work with the newest version of the plugin

    mcdan which modal are you trying to close and how many are open? I haven't upgraded to ios6 yet because of the whole maps deal, but worst case scenario I can upgrade to check it out and diagnose further

    EyeHawk the API should work if you export as Windows 8 and include socket.io.js, clay.js and clay.css. Per Windows 8's approval process, since Clay.io asks for user info, you'll have to include a privacy policy in the settings charm. You can add that with something like:

    WinJS.Application.onsettings = function (e) {

        e.detail.applicationcommands = {

            "about": {

                title: "Privacy", href:"http://clay.io/privacy"

            }

        }

        WinJS.UI.SettingsFlyout.populateSettings(e);

    };

    For an example of a game with Clay.io's API in the Windows 8 store, see apps.microsoft.com/webpdp/en-US/app/word-wars/7ed9304e-c0de-4a0d-880c-02dd496154f1 (though that's not a C2 game)

austin's avatar

austin

Member since 11 Jul, 2012

None one is following austin yet!

Connect with austin

Trophy Case

  • 12-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies