ericguo Posted March 18, 2016 Share Posted March 18, 2016 Hi, What we would like to do in a game UI is that something like a vertical scrollable/dragging table which lists items e.g. some weapons. So we create a container, then add a large image as background. And then add some items on top of background. The background image is draggable like the dragging example http://pixijs.github.io/examples/index.html?s=demos&f=dragging.js&title=Dragging and the items are set up with click event. Thing works great except if you mouse down on a clickable item and try to drag the table. It fails since the mouse down event of the background image is not fired. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.