trsh Posted April 8, 2016 Share Posted April 8, 2016 See here http://pixijs.github.io/examples/index.html?s=demos&f=dragging.js&title=Dragging If you scale bunnies to original size bunny.scale.set(1); and drag bunny around in even fast speed, you can see that it always falling back some ~20 pixels and snapping precisely when mouse stops. Any ideas, how to do a code, where dragged sprite would be precisely on mouse position? Like getting mouse pos right before draw call & then adjusting it, or I don't know ? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 8, 2016 Share Posted April 8, 2016 Yeah, I see that. Nice catch! Quote Link to comment Share on other sites More sharing options...
trsh Posted April 16, 2016 Author Share Posted April 16, 2016 Really nobody? Do pixi JS devs check this form time to time? Quote Link to comment Share on other sites More sharing options...
mattstyles Posted April 16, 2016 Share Posted April 16, 2016 Ivan is one of the devs and it sounds like it's confirmed as a bug or bug candidate, maybe there is an open issue on the repo? There's loads of dev going on for v4 currently. 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.