austin's Forum Posts

  • I think I've responded to most of you all over on the Clay.io community, and through email :)

    lemo - still looking into why deleting scores isn't working for you, but haven't been able to replicate, sending you another email.

    urbano - our payments API doesn't comply with Apple and Google Play's TOS, so if you're using CocoonJS to wrap your game in their app store, Clay.io isn't an option (they require payments go through their own systems - something we're still working on.

    If I've overlooked anything, do let me know :) The Clay.io community and email are the best two options for that - just easier for me to digest.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lemo I think that's because if they're not logged in, we decide unique people based on the IP address. That's because two different people can enter 'Joe' but we wouldn't want the score to use both of theirs - we do the same for the cumulative option.

  • Looks like there has been a lot of activity here. I don't check here too often, so your best bet is to post on the Clay.io Community.

    lemo If more people request it, I'll get that in for you sooner than later. It's a lower priority right now, but keep mentioning it to me and it will eventually exist :)

    I like the idea of a 'best' leaderboard - it's in the new version of the plugin :) link

    urbano Not yet

    space Ape - The zip file C2 makes for Chrome doesn't set the right security permissions to allow Clay.io to load in the Chrome Web Store. Try the steps here: clay.io/docs/chrome

    HenMex Did the plugin previously work on BB10 and now no longer work?

    InvaderX From what I've been told, the plugin doesn't work with node-webkit currently. It's on my todo list

    Blacksmith & - I now have an Android to test on, and it's working for me, including touch events. Can you download the most recent version of the plugin and take a screenshot of the CocoonJS log when running the game? Thanks!

  • lemo It would be a bit of a pain to go back and forth between websockets and AJAX (as far as the development process - it is a bit overkill for leaderboards, but for other features it makes sense.

    Added info about those to the docs (on the website) - thanks for the reminder!

    If you enable debug mode (Clay.io plugin properties) you should be able to delete scores when they show.

    Sent you back an email

  • You do not have permission to view this post

  • lemo Websockets are something new with HTML5. There's less overhead than AJAX and they can send an receive many more messages in the same amount of time. There are some other benefits like, say we want to send something from the server to the client, with AJAX we'd have to use a technique called longpolling which is basically constantly sending an AJAX request to see if there is new data...with websockets you don't have to do that.

    mcdan I'll take a look into the Facebook login issue on CocoonJS.

    Offline support is fairly high on our priority list to implement.

    As a company, there isn't a whole lot of benefit for us to make it where there is *just* guest login. How we benefit from offering this API for free is the new members, and cut on in-game payments.

    If the player isn't logged in, achievements are stored on a combination of their IP adress and a cookie (in case their IP address changes.

  • mcdan - I'll be getting an Android to test with soon which should expedite the process some. For the most part CocoonJS is currently working though - see the post on Clay.io (there's a lot to sift through)

    lemo It's really beyond me why it's not working then, if those files load okay :/ I installed the free version of Avast, but wasn't able to replicate the issue

  • I haven't had any other reports. The plugin runs over port 80 so it shouldn't be blocked any more.

    Do the following links load for you?

    socket.clay.io/socket.io/socket.io.js

    clay.io/socket.io/socket.io.js

  • Thank you :)

  • jayderyu - is there a question in there? I'm not seeing one ;) But yeah it will more or less work without an API key, but you do need one if you want leaderboards and achievements that work and store correctly. You don't have to upload a game to Clay.io to get that key, you just have to specify the key you want.

    lemo - I got us another IP address and our websockets (connection to the server) go over port 80 right now which isn't going to be blocked by firewalls if that's what the issue was. Does it work now?

  • lemo the bad connection might affect it, try waiting 10 or 15 seconds, then clicking a button and let me know if that works. Do you have a strict firewall? It's possible port 843 is being blocked. I'm working on getting an additional IP address for our server so we can run both the API (websockets) and site (apache) on port 80 so the firewall issue won't be a problem.

    jayderyu thanks for the kind words!

  • Thanks for the mentions C-7 and newt!

    To anyone reading, if you have any questions about Clay.io, feel free to post them to our forum, or shoot me an email: austinyde@clay.io. Here's the official page for our Construct 2 plugin.

  • You can actually achieve this with the Clay.io plugin. Look into the data storage feature - you can store data for each given user.

    What I would do is use this plugin to get the year, month and day. Then see if that date is different than the date you have stored using the Clay.io plugin under the key 'lastLogin' (you can use any key name you want). If it is, then you increment their point total (another integer stored as data on Clay.io) by however many points you want to add. You can also tie this into our achievements system so you can give out achievements if they hit a certain number of points, or days logged in consecutively, etc...

  • Fantastic work! It's a great blend of quality graphics, sound, and fun gameplay

  • I've updated the plugin to open any clicked external links in the web browser rather than the game itself (to prevent that issue).