ludei's Forum Posts

  • Hello,

    			
    //Don't run if not on correct platform, or if cocoon undefined
    if (!(this.runtime.isAndroid || this.runtime.isiOS))
    return;
    if (typeof Cocoon == 'undefined')
    return;[/code:wh3grihk]
    

    We updated all the plugins to include the code. Thanks for the hint.

    If you do it right, 'index.html' and 'config.xml' will be in the root dir of the zip file.

    The index.html is the important part. The config.xml is not important when running your source code in the dev-app, because all the plugins are installed at the cloud.

    Mamajuano please, post it in our forums, so all the support team will be aware of the issue.

    Regards

  • Then, please, post the issue in our forums and provide the test case, because we didn't encounter that problem when testing.

    https://forums.cocoon.io/c/problems-troubleshooting

    Regards

  • >

    >

    > 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.

    Did you use the box2d web physics?

    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).

    Thank you for the suggestion. In any case, the link to the plugins is on my signature . Just under the picture.

    ludei

    One other question: how do we show 'test' ads with the ATP Ads plug? Really not a good idea to be displaying real ads on a dev version.

    Which ad network?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • >

    > just tried to compile my Construct 2 project with Cordova to Android and it failed.

    >

    > "Something went wrong during the compilation of your project

    > Plugin(s) found in your project

    > - com.ludei.webview.plus

    > The command 'plugin add' failed. We cannot install the plugins you've provided, this is most likely not a problem with CocoonJS itself. Check the configuration of your plugins (it can be found inside the plugin.xml file of each plugin)."

    >

    > Can you fix your plugin, please?

    >

    "com.ludei.webview.plus" is not my plugin, sorry.

    Not sure if you are using the CLI or the old cloud. In any case, this error is caused by the Webview+ and it is fixed in the new cloud: http://cocoon.io/

  • 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.

  • >

    > > 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

    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

  • 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.

  • ludei

    just compiled my game and got black screen

    1- i do the trick with fix scale

    2- add the new c2 plugin "canvas plus"

    4-modify the config.xml

    4- but i dont sign the apk so maybe it's related to ?

    No, the signing does not interfere at all.

    There must be an error somewhere. Please, use the developer app to debug the error.

    why the game is displayed in the 1/4 of the screen

    Here it is explained and the fix is included:

    https://forums.cocoon.io/t/construct2-f ... g-issue/41

    Getting errors when i try the game using the CocoonJS Launcher App.

    Exported with cordova exporter.

    In CocoonJS Launcher it won't work. If you want to use Cordova, move to CocoonIO.

    http://cocoon.io/

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

    Also tried with old compiler and have no problems.

    Well, that date is more or less when we updated Canvas+ in order to include Canvas+ special features, like box2d.

    Yes, they worked, but your game was not using canvas+ full performance.

  • 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.

  • mmmm that's okay i will try this new cocoon maybe will leave intel xdk since performance are bad

    but when i try to sign up it tell me "invitation code" not found

    and i have receive the activation email since A month and activate it

    so whats go wong ?

    Next time, when you request an invitation and you receive it, please, use it . There is no point in keeping the invitation in your email box without activating it when the service is a beta that is evolving day after day as quite fast.

    I resent the invitation. You should have it in your inbox.

    Regards

  • New Cocoon public beta updates.

    We finally have the new forums <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://blog.cocoon.io/cocoon-beta-upda ... and-fixes/

  • 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.

  • 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