CocoonJS plugin updates

From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • I just want to make sure I have the steps right.

    1. Create projects

    2. Export with Cordova option

    3. Delete Config.xml file

    4. zip up projects

    5. Upload to cocoon.io cloud compiler

    Is that all right so far?

  • ArcadEd

    1. Remove old CocoonJS plugin from your C2 project.

    2. Export with Cordova option.

    3. Delete Config.xml file

    4. Copy everything to /www folder and zip it.

    5. Upload to Cocoon.io

    And it should work

    Other issues I've found:

    WebGL on = app in 1/4 screen

    WebGL off = app in full screen

    Minification + native AdMob = Cannot call method 'cz' of undefined (...) at XMLHttpRequest.xg.e.onload (c2runtime.js

  • Explains my screen size issue. I assume they are looking into that already.

    I'll try the www folder thing.

  • Good luck

  • I'm getting black screens no matter what I do. Games work fine with the old compiler though. Installing android studio now so I can do some debug logging to report what is going on.

    The only thing I am changing is using the CocoonJS-Atomic plugin for C2 and installing the admob cordova plugin in Cocoon.io

  • Making some progress. I had to remove the whitelist plugin that is included in cocoonIO. It was giving an error in debug, once I removed it, the game worked. I disabled webGL in C2 to get it work on full screen.

    Audio is a bit wonky. My mute button doesn't work anymore. Music didn't start playing initially.

    Working out a kinks, little by little.

    On a good note, ads worked.

  • Have you worked through using custom icons yet? The doc is here, I might attempt this tomorrow after I get a game fully working.

    https://cocoon.io/doc/icons_and_splashes

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Explains my screen size issue. I assume they are looking into that already.

    Yep, we are .

    Sorry but I must insist: please, use the feedback button .

    About the icons, I sent you a link to a template. You can use it as reference meanwhile we create a wizard for the icons and splashes . Just replace them using your own.

    Cheers

  • ArcadEd ludei

    Maybe I'm doing something wrong, but I can't get icons on Android Of course I uploaded ZIP with res/android

    and I updated config.xml in Cocoon.io

    However I can show icon in Cocoon.io dashboard

    The other issue is that apps look blurred, like "Use high-DPI" were ignored,

    but Ludei already know about this issue

  • ArcadEd

    From Ludei Blog:

    [quote:3o7g3px0]When using screencanvas with a webgl context, CSS canvas scales are omitted, so your game might not render in full screen. To fix this issue scale or layout your game with a projection matrix instead of using canvas.style

  • > Explains my screen size issue. I assume they are looking into that already.

    >

    Yep, we are .

    Sorry but I must insist: please, use the feedback button .

    About the icons, I sent you a link to a template. You can use it as reference meanwhile we create a wizard for the icons and splashes . Just replace them using your own.

    Cheers

    Where did you send the link to the template? I don't have it in email or anything.

    Thanks!

  • > I have to hand it to you Ludei, this whole process is about a hundred times better than the old cloud compiler. Kudos for that.

    >

    We are really happy to read this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">.

    > What is the proper Full Screen option to use when exporting from C2? Scale Outer just put my game in a tiny window in the bottom left corner.

    >

    Could you please tell us if the game is wrong in the developer app too?

    > Is it currently possible to add and remove permissions?

    >

    Yep. Permissions are completely up to you. You will decide what your game needs and set it in the config.xml file.

    > Where to add in our own icons? Seems to default to a generic Cocoon.io icon right now.

    >

    We are currently creating a wizard for that. Meanwhile, they must be set in the config.xml file.

    You can use this as example (it is one of the templates that appear on the wizard): https://github.com/CocoonIO/cocoon-template-phaser

    Cheers <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    ArcadEd They gave you the link when they answered all your questions before. Last part <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    https://github.com/CocoonIO/cocoon-template-phaser

  • Geez, don't know how I missed that LOL. Thanks.

  • ludei

    Is there a way to get off the free user account? Only being able to upload 2 projects is making it tough to test all of my games (I have about 10).

  • ludei

    Is there a way to get off the free user account? Only being able to upload 2 projects is making it tough to test all of my games (I have about 10).

    Not yet, sorry. Not until the beta period ends.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)