Mamajuano's Recent Forum Activity

  • Yes, im using box2d.web

  • Try Construct 3

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

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

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

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

  • Now on developer app, get this error

  • I'm sorry, but I can not solve my problem. I want my game to be displayed in the center and on the sides were black stripes. How to do it? If earlier it was mentioned, please specify where.

    Project Settings:

    FullScreen: Letterbox scale

    FullScreen Quality: High Quality

    Use high dpi: Yes

    Orientation: Landscape

    Enable Web GL: ON

    Sampling: Linear

    Export with Cordova option

    Delete Config.xml file

    Copy everything to zip

    Upload to Cocoon.io

    Using canvas+

    Using plugins: whitelist and canvasplus.android

    Android

    Try to set "Unbounded scrolling" to "yes" on layout properties.

  • > Im still getting black screen. Without physics behaviour runs ok.

    >

    > Here are the files

    >

    > Source zip: https://www.dropbox.com/s/bls08z9hrh6t3ia/source.zip?dl=0

    >

    > Apk: https://www.dropbox.com/s/el4goc6uzyc5dkz/android-armv7-debug.apk?dl=0

    >

    Have you sent your feedback through the feedback button? I really recommend you to do it because here I am just one and there they are many and all the developers will receive the issue.

    Yes, i've used the feedback to report the bug the past week. Your team knows the bug?

  • for me after adding res folder the black screen bug got sort out

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

    tried adding res folder and editing config.xml to add icons but no luck. The problem is physics behaviour.

    The developer app says this:

    (the image posted few posts back)

  • Im still getting black screen. Without physics behaviour runs ok.

    Here are the files

    Source zip: https://www.dropbox.com/s/bls08z9hrh6t3ia/source.zip?dl=0

    Apk: https://www.dropbox.com/s/el4goc6uzyc5dkz/android-armv7-debug.apk?dl=0

  • ludei have you noticed the problem with physics?

  • Ive found the problem with black screen after cocoon logo. The physics. Any object with physics in the project causes the problem.

    I tried with a totally new empty project with a single sprite with physics, and the problem is still there. Also tried to switch between Box2D web and Box2D asm.js but nothing.

    Before the update (5 June) the project loads ok.

  • [quote:29bfpa1y]Any progress or ETA on WebGL support? Canvas2D scales correctly, but looks kind of low-rez and grainy.

    We have found that C2 Cordova exporter does not use the correct devicePixelRatio value in Cocoon.io compilations, that's why the game is displayed in the 1/4 of the screen. This can be fixed with a minor change in the following line in c2runtime.js (the change is marked in bold)

    this.isRetina = ((!this.isDomFree || this.isEjecta || this.isCocoonJs) && this.useHighDpi && !this.isAndroidStockBrowser);

    Let us know if your games run in high-res with this change.

    Dont work for me. Still 1/4 size window.

    Another problem that cant indentify is that im getting a black screen after cocoon loading logo in my main project. Before day 5 update the project load and works ok.

    In a simple project test with 5 rotating sprites works ok.

Mamajuano's avatar

Mamajuano

Member since 23 Dec, 2014

None one is following Mamajuano yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies