austin's Forum Posts

  • Do you have clay.css, socket.io.js and clay.js files included as resources?

    I don't think I've specifically written up the docs on how to get C2 games working for Windows 8 yet - I just had the exporter option in there for someone who was asking a couple of weeks ago.

    Include those 3 files and let me know if that fixes things (if they're not in the exported folder, go in /exporters/html5/plugins/clay and copy them over (plus you'll have to add as resources in Visual Studio - that's an extra step even if they're located in the folder)

  • EyeHawk - hopefully within the week, but no guarantees. It's certainly very difficult without being able to test things myself ;)

    moenchlax - What's the error you are getting? Is the error when you try the project through Visual Studio 2012?

  • Voila: <img src="http://screencloud.net/img/screenshots/0e7e3e33029f489c7d99ad07fb435955.png" border="0" />

    Icons should show up now too

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Works for me :) Tested out the food and follow buttons as well, and both worked

  • Paradox "Where do you turn on the achievement icons?" for the show all achievements, they should be on by default for the ones you have earned.

    I think we'll be sticking with the current scrollbar width as it fits nicely in that bevel. The easiest way to scroll is definitely to just use the scroll-wheel, or on mobile touch and drag/flick.

    I'll try to implement parameters for sorting the list here in the next couple of days, but if I forget, definitely shoot me an email to remind me :) (austin@clay.io)

    Weishaupt Yep, NaN is Not a Number - basically it's trying to write "undefined" as a number which throws that. To fix, you need to create another condition that waits until the data is fetched. See:

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

  • 1) Updated the plugin to allow for unique identifiers (strings)

    2) Debug mode posts will show up in *your* stream, but not anyone elses, just so you can verify the posting to stream works :) I don't think RACR has his game in debug mode, which is why the screenshots show for you.

    3) I made it so you can show the icons when showing all achievements, here's how that shows up: screencloud.net/v/dLAa - I can change up the default look of that if that's not ideal.

    Grouping is a longer task to tackle, so that's not complete yet (nor have I started it)

  • I was waiting to respond to this until I found some time to get those things fixed/implemented, but so I don't seem like I'm MIA, I'll respond now :) They'll be implemented soon!

  • Paradox The standard API when you're using just JavaScript to write your game accepts JavaScript objects and arrays. I was thinking that implementation would translate over to Construct 2, but it turns out the only parameters you can specify to pass to an action are strings and numbers, so you can't actually pass an array.

    What you'll have to do is pass the "AsJSON" expression of the Array object to the Clay.io action. From their I think the looping will work, but it may not as the JSON could be read as a string. If that's the case I'll update the plugin to parse the JSON automatically.

    There is an "Achievement Awarded" trigger.

    Joannesalfa Adsense is fine.

    devMidgard looking into it now

  • CocoonJS integration is still a work in progress :)

    And no, no ad system yet.

  • Anything, just so I have an email to reply to :) It's a bit easier for me to communicate that way than through PMs here

  • Can you send me an email to austin |at| clay.io?

  • I'll have to try out 105, can you be more specific on why the plugin doesn't work, any error messages?

  • Looks like Facebook changed how they return a user's profile picture which was breaking things. Fixed -- thanks for pointing it out!

  • Another update: CocoonJS is still in the works -- I spent the last few days implementing a "Push to Windows 8 App Store" feature (and some pushing to other app stores as well), though that probably isn't very important to the folks here since C2 already has a nice exporter for that.

    What is relevant here is I've updated the plugin to work with Windows 8. Windows 8 has some restrictions where you're not allowed to call external scripts and CSS, so the API and styling for it are stored locally (this is also something necessary for CocoonJS). If you're exporting to Windows 8, change the export mode property for the Clay.io plugin to "Windows 8". It'll do the export and generate a default.html file, in that you'll have to add in:

    <link href="/api.css" rel="external" />

    <script type="text/javascript" src="/socket.io.js"></script>

    <script type="text/javascript" src="/api.js"></script>

    It isn't the prettiest solution (having to manually add that in), but it's the best I can do with the current C2.

  • The thing about their webview is you have to do some special things to communicate back and forth. It's something we'll end up implementing sooner or later, but we wanted to start with the DOMless version as that was a requested feature either way.