Touch event is not well handled in OpenFL generate Html5 game running in mobile browser

185 views
Skip to first unread message

Rocks Wang

unread,
Jan 2, 2014, 10:51:56 AM1/2/14
to haxe...@googlegroups.com
Hi,
My h5 game works well in Chrome with mouse input, however when I open it from mobile browser (android & ios), the pan touch gesture will cause the whole web page to be moved, while the expected behavior is only a single sprite is dragged.
Is this because the touch event is not consumed by canvas so the event is propagated to DOM?
It seems the flambe generated games don't have this issue.
Any ideas?

Rocks
Reply all
Reply to author
Forward
0 new messages