[r123.2] Touch Event Bug AGAIN!

0 favourites
  • 3 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • Link to .capx file (required!):

    dl.dropbox.com/u/30381754/Touch%20Test%20Application.capx

    Steps to reproduce:

    1. Run the Layout or Export the project as a HTML5 website.

    2. Release from Touch, and the red square

    Observed result:

    <img src="https://dl.dropbox.com/u/30381754/Touch%20Issue%20screenshot.png" border="0" />

    This screenshot was after multiple touches of my screen, the screen wasn't in any contact while the screenshot was captured.

    Expected result:

    A red square should appear at the position of the first touch, and follow the location of the touch until the touch ends, where the red square disappears.

    The first touch count returns the value of the TouchCount expression, the second one is a global variable which increments when a new touch is received and de-increments when a touch has ended. Both touch counts should be the same value, increasing by one when a touch is performed and have a value of zero when the screen is not touching.

    Browsers affected:

    Chrome: yes

    Internet Explorer: no

    Operating system & service pack: Windows 8 Pro (64-bit)

    Construct 2 version: r123.2

    I first raised this bug on the version [r122], but the bug still occurs. As of writing it only seems to be effected on Google Chrome, as Internet Explorer, as well as exported versions for CocoonJS and Windows 8 are not effected.

  • I think this is a bug in Google Chrome, or possibly the driver for your touchscreen. I tried it on an iPad and it worked fine, and as you say yourself it works fine in IE. Construct 2's touch start and end events pretty much map exactly to the touchstart and touchend/touchcancel events, so this implies Chrome isn't firing the events properly. Closing, you might want to take this up with Google.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK will do. Thanks. :)

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