Hi, new here, been developing in pixi.js for a bit over two months now, absolutely love it. I have encountered something that I've been stuck on weeks that I hope someone can help me with. The issue is similar to the topic posted in 2019 but with a different use case.
Some context,
- I'm developing an ECS framework around pixi.js
- Wanted to capture normalized events from the InteractionManager to check for all sprite events at the same point
- Some events captured were (pointermove, pointertap) from originalEvent (chrome), and (mousemove, mouseover, mousedown, mouseup) from eventData but alas (mouseout, and some other events) are not working
- using additional plugins (gsap, pixi-layers)
Regular events in the documentation works as listeners attached to the sprite.
I needed to trigger those events under my Systems so I did a check on the interactionManager on every tick.
Is it the case that pointer-ized (standardized/working) event listeners only exists on PIXI.container but not on InteractionManager? If so do point me to the adapter class, i'll be eternally grateful
Do let me know if I'm missing any details, thanks!
↧
Getting normalized events from interactionManager (Pixi v5)
↧