Headbang Games's Forum Posts

  • It might be a 3rd party plugin your using.

    If so, try removing them 1 by 1 and test it again.

    When the game is loading you can press F12 then ESC to see chrome console, check it and look for any browser errors.

    If one file is missing, it will not load properly.

  • If the collision mask is not important and all you need is to split the graphics, you can use a mask object.

    Create 2 mask objects (color the unwanted parts in black the rest leave transparent) and set the blending mode to Destination out

    On the layer settings where the object is on set:

    1. Transparent YES

    2. Force own texture YES

    Now create 2 instances of your object and the 2 masks and pin them to the object.

    If the mask is the same on both sides you can just mirror the same mask.

  • try this:

    onTouch canvas - begin path

    isTouching canvas - draw path with color, line width

    lineTo touch.x touch.y (if you got the canvas hotspot in the middle)

    lineTo touch.x-canvas.x touch.y-canvas.y (if the hotspot is in the top left corner)

  • Really?

    Because it works fine for me when previewing in chrome.

    Oh well, i'll switch back to box2d web.

  • Hi Shiva,

    I've made an update of the official plugin, until we'll get the official update.

    It works through browsers, but i can't get it to work with crosswalk.

    You are welcome to try it yourself.

    https://googledrive.com/host/0B3JLq-yXZ ... media2.zip

  • Problem Description

    Physics+Asm.js+Crosswalk+More than 8 collision mask points

    Attach a Capx

    ____ [attachment=0:lwpjpcpr][/attachment:lwpjpcpr] ____

    Description of Capx

    ____ works with 8 points, also work with box2d with more than 8 points.____

    Steps to Reproduce Bug

    • new project
    • add a sprite with physics and set 9 or more collision mask points.
    • change physics engine to asm.js
    • export to crosswalk

    Observed Result

    ____ black screen, even on the test tab, no need to build or emulate. ____

    Expected Result

    ____ What do you expect to happen? ____

    Affected Browsers

    • Crosswalk: (YES)
    • Chrome: NO)

    Operating System and Service Pack

    ____ Windows 7 sp1 ____

    Construct 2 Version ID

    ____ 163 - 64bit____

  • - please report all bugs to the bugs forum following all the guidelines or they cannot be investigated.

    ok i will, i didn't before because i was not sure if it's a bug with construct or crosswalk.

  • IntelRobert Ashley

    Hi, I've encountered a bug and i am not sure if it is construct related or crosswalk related.

    If i use more than 8 collision mask points on a sprite with physics and i export with asm.js i get a black screen on crosswalk,

    running in preview on chrome works fine, switching to box2D with more than 8 points also works fine.

  • I had no problem uploading crosswalk apks to google store as is, no extra settings required.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • get use to working with loops, like this:

    On start of layout

    Repeat 3 times

    create waterbar on

    x 560

    y 520+(loopindex*20)

    waterbar set size

    width 300-(loopindex*100)

    height 5

  • when creating new objects any setting is done only on the last created object, since you don't always want it to effect all of them, you might want to choose different frames or sizes.

    so you'll need to put you're setting after each creation.

    if you're settings are the same you can do a repeat or a for each loop.

  • Yes, it works, thanks!!!

  • Is there any way to get the device uid through crosswalk with xdk?

    using intel.xdk.device.uuid, returns an error.

  • Yes its 1.42

    GameThirsty I haven't tried integrating facebook, i just added a quick share/post to my wall link that opens in a new window.