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.