CocoonJS plugin updates

  • Well, if you want to pm me the apk I'll try it on my device and see if I hear anything.

    Otherwise I would try compiling a dev app, and see if the same thing happens there. If so, take a look at your debug log and see if anything leaps out at you.

    You could also try making a new project with a sprite that plays a sound when pressed, and try to export that.

    On the dev app: I haven't had much luck previewing over wifi, so if you are trying to do that, be warned that your game logic probably won't run right. You want to export your game as cordova, un-minified, delete the config.xml file in the export folder, then zip the contents and put it on your mobile. Start dev app, go to documents, select your zip file, and press the 'Canvas+' button that pops up.

    Good luck.

  • TiAm

    i still can't find that line! no "retina" at all on the document, I'm using notepad++ now

    ok, thanks for reply, i'll give it a try

  • Egyptoon

    Dunno what to tell you, it's right there:

  • TiAm

    OMG, the "minification" thing ! THIS IS IT

    you are AWESOME !

    i found the line and replaced it. and i used cocoon canvas plus plugin.

    2 problem fixed : exit action and scaling

    but still can't play any sounds at all

    ads, vibration, leaderboards and achievements are working just fine.

  • [Cocoon] only supports only ARM(canvas+)

    what that's suppose to mean - does game will not run on x86 device

  • [Cocoon] only supports only ARM(canvas+)

    what that's suppose to mean - does game will not run on x86 device

    Canvas+ does not support x86 at least at the moment. The rest webview engines does.

    Yes, that is exactly what it means. Only available for ARM.

  • Most mobile devices use ARM am I correct? Was the old Cocoon Js exporting for ARM?

  • Yes, that is right.

    In the new Cloud is different.

    Canvas+ is the only one that supports just ARM.

    Webview+ supports x86 too.

    In addition, yesterday we published a new release. Here is all the information about the new features: https://blog.cocoon.io/cocoon-beta-upda ... m-plugins/

    Regards

  • ludei

    can you please tell me why audio doesn't work with canvas+ ? only in webview!

    i'm using audio plugin in C2 and Media plugin in Cocoon.io

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ludei, TiAm, can you export and compile this capx on your cocoon and check if works please? Im testing and nothing compiles now. With physics, without physics, total empty project, nothing compiles. Getting black screen on normal compile, and in developer app, have no errors in the log.

    I dont know if my construct2 is broken, or im doing something wrong.

    https://www.dropbox.com/s/u1tanjikgg7wegx/testcocoon.capx?dl=0

    And other thing TiAm, im looking the pic you posted to tell the line for the fix of screen ratio, and i have noticed that in your .js file is on line 435, mine is on line 3694 and the file have a total of 18000 lines aprox. Is that ok?

  • Mamajuano

    I'll try your capx later today when I have time.

    Second question: I patched the preview.js file stored in program files, so I didn't have to edit my exports every time. Patching the export should work fine though.

  • i was asking what will happen in x86 device(canvas+)

    thus they will able to install or not

    or will get a blank screen

    or run fall back to web view ?

  • i was asking what will happen in x86 device(canvas+)

    thus they will able to install or not

    or will get a blank screen

    or run fall back to web view ?

    In most of them, it will work because they have some emulation libraries. In some of them, if they don't have those libraries, the game will crash.

  • [quote:3qyhr2vu]In most of them, it will work because they have some emulation libraries. In some of them, if they don't have those libraries, the game will crash.

    thats explain so many 1 star rating

  • ludei I am still having a problem with full screen in New cocoon.io. I've read through this thread and several others trying to figure out what I'm missing.

    I've done:

    1. The code patch for the retina IsCocoon thing.

    2. Removed whitelist from installed plugins.

    3. Switch physics from .js to the .web one.

    4. Tried WebGL on and off. (Off made it zoomed like, 300% in upper left corner)

    5. I'm exporting as Cordova, deleting config file, zipping the rest and uploading, choosing full screen, portrait, canvas+.

    6. I'm using the new cocoon Cordova plugins (updated from formally named ATP).

    7. Using Letterbox scale, even though its not supported by canvas+, I have yet to read others using a different scale. I'm assuming C2's scale choice is ignored as cocoon configs it it's own way.

    In the end I continue to have this weird strip on the right side:

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