In Crosswalk, r200 <Touch> object generate trigger twice

0 favourites
  • 2 posts
From the Asset Store
Game Triggers is as versatile as a Swiss army knife, and will be a great resource for any type of game you're creating.
  • Problem Description

    In Crosswalk(XDK 1826), r200 <Touch> object generate trigger twice when <Use mouse input> is ON

    Attach a Capx

    capx attached.

    Description of Capx

    For each touch starts, generate a letter "T" on screen.

    Steps to Reproduce Bug

    • export using Cordova.
    • import in XDK.
    • test in emulate tab.

    Observed Result

    In emulate tab, each touch produces two "T"s.

    Expected Result

    In emulate tab, each touch should produces just one "T".

    Affected Browsers

    Crosswalk

    Operating System and Service Pack

    Not OS dependent.

    Construct 2 Version ID

    r200

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as won't fix: this happens on some platforms because it fires both a touch event and a mouse event for compatibility reasons, so the event is firing twice because C2 really is receiving both a touch event and a mouse event and you've told it to listen for both. The workaround is just to disable "use mouse input" on the Touch object.

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