Replies: 1 comment
-
About the second point : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The draggable entity is the only code that publishes the global drag events (weird! this should be handled by the lower level pointer code) The draggable entity receives its own DRAG event after handling the normal
up
/down
event. AFAICT, It does this specifically to trigger events in the tests. It seems that doing tests would be easier with a proper API to trigger or invoke a synthetic event. On par with the DOMdispatchEvent
methodSecond, it might be nice if melonJS supported "real" gestures;
drag
,pinch
,swipe
,double tap
, etc. Not just pretending thatDRAGSTART
andDRAGEND
are a thing. There's a nice iOS-specific series of touch-gesture events to piggyback off of: https://developer.apple.com/library/mac/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.htmlBeta Was this translation helpful? Give feedback.
All reactions