0 Favourites

Touch Input Breaks on Garbage Collection Cycle.

  • Link to .capx file (required!):

    docs.google.com/file/d/0B_4xfuagH96rSl9BckJJM19ZTEk/edit

    Steps to reproduce:

    1. Run the Project on a Mobile Device.

    2. Drag Construct Logo Around in a Circle.

    3. Notice the screen loses the touch input after a few seconds.

    Observed result:

    Even thought the "Construct2Logo" has the Drag/Drop Behavior, it loses touch and therefore stops dragging after a few seconds...perhaps during every garbage collection cycle.

    Expected result:

    I expect the behavior to keep working even thought there is a garbage collection running...It should continue to register my touch input on the screen and therefore the object should continue to follow my finger around even if it needs to pause for a second.

    Browsers affected:

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Operating system & service pack:

    Android 4.1.2 (Running on my Galaxy S3).

    Construct 2 version:

        Latest Release 139 (64-bit edition).

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Did you only test the Android stock browser? It works fine for me on Firefox for Android, Chrome for Android, and Safari for iOS. I can reproduce it on the stock browser, but it's a really poor browser. It seems to be a browser bug and I don't know if we can work around it, I guess it just randomly fires touch end events.

  • Yes, I was testing it for lowest common denominator to release it for Android first and then for iOS. I figure there are millions of people that have galaxy S3's right now so I should test it on that. And since most people keep their stock browsers is there a smart way to work around this?? I just want it to work for people...that's all. :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
202 26,920
The Mnk's avatar
The Mnk
Unread hot topic
96 57,354
bitworks's avatar
bitworks
Unread hot topic
64 17,866
lukezero's avatar
lukezero