How do I built for CocoonIO

0 favourites
  • 12 posts
  • Hello ludei

    I've been trying to get my apps to cocoonIO for awhile now, but I have a few questions first.

    1) What Exporter is to choose?

    I'm using the latest CoccoonJS Plugin available at Github. This is what I figured out so far (correct me if I'm wrong).

    Export with CocoonJS / Build with Canvas+

    • Cordova Plugins aren't supported then
    • I need to use the 'CocoonJSAds' plugin to use Ads, Google Play Games etc. in Construct 2

    Benefits

    • Good performance
    • Small file size

    My Question: If I want to use Canvas+, then I only can add the plugins available at 'Cocoon' (at the Plugin tab on cocoon.io)?

    Export with Cordova / Built with WebView(+)

    • Cordova Plugins are supported
    • I can use additional plugins like the one provided by

      cranberrygame

    My Question: How do I install the plugins correctly? And do I need to choose WebView or WebView+?

    2) Settings

    Everytime I export and upload the files (built with Cordova) the settings at Cocoon.io will be overwritten. Even if I delete the config.xml file before uploading.

    Thanks for your help!

  • 1) What Exporter is to choose?

    Cordova exporter.

    I'm using the latest CoccoonJS Plugin available at Github

    Just in case, use these ones: https://github.com/CocoonIO/atomic-plugins-c2

    Cordova Plugins aren't supported then

    They are <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">. Even on Canvas+: https://cocoon.io/doc/canvas_plus#supported-features

    However, they must be adapted for Cordova 5.0.0

    My Question: If I want to use Canvas+, then I only can add the plugins available at 'Cocoon' (at the Plugin tab on cocoon.io)?

    No, you can add more plugins. You can use cranberrygame plugins in Canvas+ too.

    My Question: How do I install the plugins correctly? And do I need to choose WebView or WebView+?

    You can use the the plugins tab in the project configuration.

    About the webview engine, it is up to you.

    Here you have some information about Webview+: https://cocoon.io/doc/webview_plus

    And here some about the System Webview: https://cocoon.io/doc/webview

    Everytime I export and upload the files (built with Cordova) the settings at Cocoon.io will be overwritten. Even if I delete the config.xml file before uploading.

    If you are sure you don't have a config.xml file inside the zip and you are saving the changes correctly at the cloud, please, send us the zip file to have a look at it, because it should not happen in the way you describe.

  • ludei

    Thanks for your quick and good answer! It helped me a lot.

    Were can I send the .zip file with the config issue?

    Thanks!

  • You can use the Feedback button .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry was my mistake

  • ludei I made a little tutorial showing how to compile and build with CocoonIO

    https://goo.gl/xhNJRb

  • Thanks a lot for contributing <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">.

    We pinned the topic at Tutorials category <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">.

    https://forums.cocoon.io/t/construct2-h ... ocoonio/45

  • Hi,

    I was posting my mail for invite about 2 weeks ago and no luck. I dont have any invitation yet. Could you please send one ?

    Also is there a way to control permissions on the new service ? I need to disable wake for my device on builds.

    Thanks

  • I was posting my mail for invite about 2 weeks ago and no luck. I dont have any invitation yet. Could you please send one ?

    Please, check the spam box, because it does not take so long. You should have received it.

    Also is there a way to control permissions on the new service ? I need to disable wake for my device on builds.

    Yes, there is. You decide all the permissions your app should have editing the config.xml file.

  • got it just now but i cant login, bad gateway

  • wow ludei, it looks brilliant !

  • I would like to thank you cocoon team for their cocoon.io xdk is out of game for me.

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