CocoonJS plugin updates

  • BasicTribe chill dude, cocoonjs physics deprecated, but there's a new faster asm.js physics engine, it has some troubles with joints, but if you're making a pinball game they probably won't affect you, so just use asm.js instead of cjs physics.

    Unless you want to use Canvas+ . Then yes, it affects and a lot even on Cocoon.io.

    In any case, we are searching for a solution. In fact we think we found one.

    Can someone please provide us a capx using physics? We would like to test the solution on a real case.

    Thank you.

  • OK, i make comments and documentation to the eventsheet and longer text that other people can understand the logic. and a small guide about keys etc....... I think i can upload the capx at midnight. In germany its now 06.47 pm.

    Because the missunderstand information "Physics: removed 'CocoonJS native' engine." Sry for my text. Its under an other light now. I have not deleted my text for the others that they understand the next posts.

  • Could someone familiar with the cloud compiler please summarize what to avoid when using it to compile iOS and Android apps? It sounds like physics isn't currently supported, anything else? Thanks, Morgan.

  • OK, here are my capx. i have added a .bmp in the zipfile with short tableinstruction, comments in the eventsheet added and sort the events a little bit. I have lot of experiments make the last weeks with lot of new modifications take in and take out. in this version are box2d selected and box2D.asm.js in other versions/modification. But the same results. with v 2.06 (64 bit) (business-license). The resolution is a bit high 1280x800 because for desktop (!* not 720! set it a bit higher vor a better scrolleffect). In the finished game you can play it in portrait-mode. Same type as the good old Amiga 500 Pinball-Classix!

    ludei: Here i give it for experiments for you free!

    All: can look and make an own picture about the physic-problems. (when you want export/wrap it: OK make it. But only for you and not for the INet or Stores. Dont upload it on other places!!!!

    ....take it as an tutorial.... what ever. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Game runs great in c2 but horrible at mobile-(smart)phones. (Testet with s2/s3/s6). all with more or less the same resolutions....

    (with intel xdk too. Only crosswalk (with intel xdk) compile runs with it. But there is under other posts you can read it, a bad bug that stops all round up all 5 seconds the frame.... for a pinballgame i can this not tolerate <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    The password from the zip is "brainstorm" ---> without "

    For all they saying now: Its a bad Code/event-Sheet method(s): I can only under this conditionals (?bugs?) only guess whats right and whats wrong

    here the link: https://www.dropbox.com/s/7281y34uhifcz ... t.zip?dl=0

    thx! i am go sleeping now and have tomorow a longer train-journey and can at the next time go online at the evening

  • ludei

    1- excellent work

    it seem that the new cocoon is better than intel xdk and crosswalk

    however all cranberry plugins are working except in app purchases ....

    2-how to use the capture and share plugin ? i have try it and not work ... maybe i have to add some plugin in the cocoon.io?

    3-splash screen any news ? x86 any news ?

    thanks a lot ...i think that cocoon has his comeback

  • ludei

    2-how to use the capture and share plugin ? i have try it and not work ... maybe i have to add some plugin in the cocoon.io?

    Most of them require it, except Cocoon Canvas+ features.

    If you refer to the capture and sharing, you need the Atomic Plugin Share at the cloud: https://github.com/CocoonIO/atomic-plug ... ve-share-1

    If not, there is an expression to have access to the picture:

    CaptureScreenSync (or Async) will provide you an URL to the picture.

    3-splash screen any news ?

    Yep, we are working on the pricing models now. It will be possible really soon.

    x86 any news ?

    Canvas+ doesn't not support it yet. Webview+ does.

    BasicTribe Thanks a lot for the test case.

    Regards

  • >

    > > Now on developer app, get this error

    > >

    > >

    > >

    >

    > Hello,

    >

    > We have finally discovered why there are issues in relation to physics.

    >

    > Cordova exporter uses a different script for physics (empscripten) than the one we inject in Canvas+ ( box2d.js). It is possible to fix it if we don't inject our extensions BUT it is quite probable that this change will affect performance really badly.

    >

    Bad news, but ludei, i can remember that before 5th June update, i have no problem with physics.

    Also tried with old compiler and have no problems.

    Have you tried to export it using box2d web? By now, it seems to be the best solution if your target is Canvas+. Our tests don't crash anymore. The FPS in Canvas+ are stable and around 50. We are using the capx provided by BasicTribe

    Regards

  • ludei

    Added the new plugins to C2, and started getting this error. Error occurs for all the plugins.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ludei

    Added the new plugins to C2, and started getting this error. Error occurs for all the plugins.

    Have you read the first paragraph of the README?

    https://github.com/CocoonIO/atomic-plug ... onstruct-2

    In addition, you are trying to use Facebook.

    Did you notice it was a work in progress?

    https://github.com/CocoonIO/atomic-plugins-c2#facebook

    The plugin is ready for C2, but the real plugin, the one required at the cloud, is not ready.

  • ludei

    Oh. Didn't realize that. I had updated to the latest C2 beta, and got this error. In the previous versions of C2 I did not get this error even though I had added the Ads, IAP, and Social plugins to the project.

  • Have you tried to export it using box2d web? By now, it seems to be the best solution if your target is Canvas+. Our tests don't crash anymore. The FPS in Canvas+ are stable and around 50. We are using the capx provided by BasicTribe

    Regards

    ludei im still getting black screen on normal apk, and in developer app get another error:

    Tried box2d web and box2d asm.js.

  • ludei

    what does "Native share" exactly do?

    I've read documentation and still I have no idea

  • ludei

    what does "Native share" exactly do?

    I've read documentation and still I have no idea

    This is the native share:

    It is not just for Facebook. Maybe you can use it for publishing on Facebook, but it is the native feature every mobile device has.

    If you want to publish on Facebook, it is better the plugin we are currently developing.

    >

    >

    > Have you tried to export it using box2d web? By now, it seems to be the best solution if your target is Canvas+. Our tests don't crash anymore. The FPS in Canvas+ are stable and around 50. We are using the capx provided by BasicTribe

    >

    > Regards

    >

    ludei im still getting black screen on normal apk, and in developer app get another error:

    Tried box2d web and box2d asm.js.

    Remove the whitelist plugin. You are using Canvas+ . It is not necessary there but if you create a project, it is added by default.

  • Remove the whitelist plugin. You are using Canvas+ . It is not necessary there but if you create a project, it is added by default.

    Sorry ludei, removed whitelist plugin and get new error:

    With "www" folder:

    Without www folder:

    Trying Webview+ and the zip without www folder, loads ok.

  • ludei

    Suggestion: Make a thread about the C2 Atomic plugs and post it in this forum:

    Would make it a lot easier to find them, because google is of limited use (all it wants to show is the old cocoonJS omni-plugin).

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