theames's Forum Posts

  • Its all working as expected now on mobile device using cocoonjs with the cocoonjs launcher app

    however i just compiled it in the cloud with cocoonjs, signed the apk etc, put it on my phone and none of the clay.io stuff works, login doesnt appear, scores not submitted, leaderboards not shown etc

    any idea what this could be? do we need to add something as whitelist url somehow?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How are you moving the turret?

  • In the collision event could you not also add a condition to check that the hp is greater than 0. And only subtract 1 if it is?

  • not sure if there's anything can be done about this one but when you login on an android device (im using galaxy s3, im assuming this will be a problem elsewhere) the keyboard hides most of the login elements and its very difficult to scroll down?

  • Working now great job thank you

  • Nice one cheers Austin

  • ok i found this comment:

    clay.io/forum/discussion/comment/61

    which indicated i need to add the files to the zip, which i have now done but its still not working

    in the console i can see its connected to clay.io without any problems and calls the leaderboard, the last thing in the console is "Creating the modal" yet nothing appears?

  • ok i found this:

    clay.io/forum/discussion/comment/61

    which indicated i need to add the files to the zip, which i have now done but its still not working

    in the console i can see its connected to clay.io without any problems and calls the leaderboard, the last thing in the console is "Creating the modal" yet nothing appears?

  • tried clay.io with the cocoonjs launcher on android and my button click to open the leaderboard doesnt work, in fact cant get any clay.io functions to work, no errors in the console or anything, it just doesnt do anything, this is the same on ipad and iphone too, any ideas?

  • Ok I know there is a thread for this plugin already but its bloated so I'm posting a new one.

    Basically I added the clay.io object to my project, i set the api key, then i listen out for the clay.io ready event, i then tell it to show my leaderboard as a simple test. I use a flag variable to make sure the call only happens once

    in Chrome it runs fine and it comes up with the leaderboard saying no high scores yet, cool

    export it for cocoonjs, use the cocoonjs launcher to launch it on my Android phone, ipad, and iphone and its the same result everytime, nothing happens, no errors in the console or anything the leaderboard just does not appear

    Am i missing something?

    thanks

  • You do not have permission to view this post

  • Does the full process work on ios including notifications back to c2 that the purchase was a success?

  • Well what's the program called?

  • Good idea thanks!

  • How about a feature where we can hit export, or reexport as a new button or something that remembers your last preferences like what format, minified or not etc, but then uploads the zip to an ftp directory. you could set the ftp details and upload directory in the settings somewhere

    it would be great for cocoonjs testing, i have to keep hitting export, select cocoon js, hit ok on the next screen, then go to my ftp program and upload, i know its not much of a faff but when your doing it hundreds of times a day it makes you think....wouldnt it be great if c2 could do this for me?

    thanks