These are chat archives for pixijs/pixi.js

8th
Jun 2017
Matt Hicks
@darkfrog26
Jun 08 2017 15:08
if I wanted to write localized support for mouse wheel scrolling on an element in PIXI...how would I introduce the mouse event to propagate to "touching"?
ᦖєgιт
@LegitSoulja
Jun 08 2017 16:16
@englercj I don't use pixi, I've tried pixi, but I'll wait until the future, since things aren't as organized. I wish I could help.
ᦖєgιт
@LegitSoulja
Jun 08 2017 16:23
Ok, you said don't just ignore the problem, since I can't do anything atm, I decided to acknowledge it, during the conversation between you and @darkfrog26 . I stated that the docs are broken. I would've been more clear but the docs aren't clear, then I was told the docs was based off of comments. So, if this was community, and published to the official docs everyone is seeing, why isn't nobody correcting things in PR's? Some things doesn't make since, don't work, out of place, and just wrong.
Janne Hyytiä
@Hachitus
Jun 08 2017 20:29
@darkfrog26 You talked about absolute positioning kinda thing with sprite. But would it really be wise to have a separate way to interpret coordinates? I mean if you have an object that is "absolute positioned" and then another object that is normal. I would kinda see it as a source of really annoying situations. You can still setup a custom solution there to calculate the global coordinates fairly easily and set them to x and y.
Matt Hicks
@darkfrog26
Jun 08 2017 21:31
@Hachitus isn't that exactly what absolute positioning in CSS does?
Janne Hyytiä
@Hachitus
Jun 08 2017 23:17
@darkfrog26 Yeah it is and one of the reasons I hate CSS :D. But anyway css is different, because there you actually need it for certain layouts, but here you can still calculate it with toGlobal and toLocal pretty easily imo. So isn't that sufficient?