I'm developing an app for desktop and touchscreen with Air/Starling.
Its running on windows, and I have multitouchEnabled = true.
The app is going to be used in public places so it needs to be robust.
When I test it by randomly touching different places quickly on the screen, its like its caching the touch events, the events will then be fired for several seconds after they have been registered? this causes a lot of problems for my app, since content may shift, but touches will fire after contents has switched.
I have tried to call the "touchProcessor.cancelTouches()" to clear the cache when I swap contents, but that does not seem to work the way I want it?.
I have tried to turn off multitouchEnabled, and it seems to help, but it would be nice if I could use multitouch.
Any ideas on how I can clear the touch cache? so that only new touches are registered?
Or other ideas on how to avoid this problem.
Any ideas will be appreciated
prevent caching of touches(1 post) (1 voice)
Hi,Posted 5 months ago #
You must log in to post.