I'm working on a project with three touch areas (TouchFail.capx
or browse to the HTML5 export
). I've stripped my example to two touch areas.
The player may adjust a parameter using the slider and get extra points by moving around in the second touch area. The SliderMarker
adjusts to where the finger current currently is located on the Slider.
+ Touch: Is touching Slider
, Set Y to Touch.Y
+ Touch: Is touching SecondTouchArea
During my testing, the SliderMarker
adjusts to where the finger is currently touching the Slider
. I can also touch the SecondTouchArea
When I branch out to different devices and/or different browsers, I see a new problem. When I'm touching the SecondTouchArea
, it sometimes takes control of the SliderMarker
I can make a video if it'll be clearer, but here's the testing steps:
1) Touch the Slider
and move around. Watch the SliderMarker
move with the finger
2) Drag off the Slider
and watch the SliderMarker
3) Drag back onto the Slider
and watching the SliderMarker
4) Repeat steps (1) through (3), this time moving a second finger inside the SecondTouchArea
The bug occurs in step (4): the SliderMarker
moves up and down with the finger in the SecondTouchArea
, and stays that way until both fingers are removed from the screen. Often times, I cannot control the SliderMarker
any more and have to restart the application.
Am I using the Construct 2 language wrong and/or is there a better way to do this? Or is this an issue with, say, Chrome on Android?
I feel like I've got too much junk here... if anybody needs me to provide some more information, please let me know and I'll get it.