-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreliable mouse interaction with rope mesh #2717
Comments
Actually, thats not a bug. PIXI cant detect what is the size of your canvas, it must be exactly 1:1 with CSS pixel. |
https://dl.dropboxusercontent.com/u/46636530/pixijs/pixi.js - that's V4 with my PR, it works. And I dont think PRs to "master" branch (pixi-v3) can be accepted anymore, so sorry, but you have to move to v4 :) |
It works perfectly! Thank you! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi, I'm trying to modify the 'strip' pixi.js example that demonstrates the rope mesh. I tried adding interactivity to the rope so that when I click it the size changes.
https://codepen.io/aatish/pen/yJPWBx
However, the click behavior seems unreliable for me. It works in some places and not in others, and I'm having trouble understanding where in the image I should be clicking for the interaction to occur. Ideally I would like the interaction behavior to happen whenever I click within the boundaries of the snake.
Thanks,
Aatish
The text was updated successfully, but these errors were encountered: