funkyos's Forum Posts

  • Thanks. I managed to get full screen ads working with Chartboost.

    Also, to anyone that's having trouble getting a full screen ad to display more than once per session, try including a 'refresh full screen ad' action some time before calling 'display full screen ad'. That fixed the problem for me.

  • ArcadEd

    We're you ever able to get full screen ads working with InMobi in cocoonjs? I'm able to get banner ads showing but so far nothing shows with full screen ads.

    I'm wondering if I should try other networks like you did.

    Thanks.

  • thehen thanks!

    Here's the capx and the clay files I'm adding. Load this up in the launcher and then click on the sprite to see the crash. If I strip out the flurry plugin from the capx and repeat all the steps then it works fine.

    dl.dropboxusercontent.com/u/38658788/flurry/flurry.capx

    dl.dropboxusercontent.com/u/38658788/flurry/clayfiles.zip

  • thehen thanks for the cocoonjs update!

    I noticed a problem with the plugin though. When I have both clay.io and flurry in my project and add the extra files to my exported .zip file, then I get a crash when I load up my app in the cocoonjs launcher.

    These are the clay.io files I'm adding:

    webview\api.css

    webview\api.js

    webview\webview.html

    api.js

    clay.css

    clay.js

    cocoonjs.js

    cocoonjs_app.js

    cocoonjs_app_for_cocoonjs.js

    cocoonjs_app_for_webview.js

    common.js

    edittime.js

    pluginicon.co

    runtime.js

    socket.io.js

    I noticed there's some overlap with the flurry files you mentioned in your first post. There are file size differences between the plugins. Could that conflict be causing the force close?

  • Is anyone able to get the clay plugin working with cocoon lately? The launcher does a force close every time I load my game. Everything was working fine up until recently :(

    Hoping austin can help..

  • Aaahhhh! I was searching for a way to cast a variable but couldn't find anything.

    Thanks a lot!

  • Hi guys,

    I have a number that I'm storing that is padded with 5 zeros, e.g. "00045". What I'm trying to do now is remove the padding so that I have "45".

    I'm not sure what the best way to go about doing it is. Here's what I'm thinking: the logic would be to look at the string and find the position of the first non-zero character and then return a substring from the first non-zero character index to the string length.

    I'm having trouble actually writing out the logic in C2 to accomplish this. Any advice?

    Thanks!

  • I'm getting a force close when I test my game with the latest version of the cocoon launcher (updated to v1.4.5) on my Android phone.

    After I export my game from C2, I add the necessary Clay.io files to my zip file so that I can get clay functionality on my device. I did some testing and noticed that if I dont add the file \webview\webview.html to my .zip then I don't get the force close in launcher, though I don't get the clay features working either :(

    Does this have something to do with v1.4.5? Everything was working very nicely before that update.

  • I wanted to do the same thing for my project. Here's a capx (without the animations) that shows how I did mine: dl.dropboxusercontent.com/u/38658788/touchdpad.capx

    Hope it helps.

  • +1 for the ctrl-w shortcut

  • Awesome! You rock :D

  • thehen any chance you can give an example on how to use the 'log event with parameters' action? I'm not quite sure how to pass parameters as a JSON object. I'm trying to record data as parameters when the player dies like score, time, etc.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I remember reading one of Ashley's comments saying that global booleans are on his todo list, so it's not off their radar.

  • Months?!? I've just spent a few days on this and it's frustrating me to no ends :S My configuration looks solid but I can't even see the test ad in my game :(

  • Did you ever get this working?