These are chat archives for pixijs/pixi.js

27th
Dec 2017
suconghou
@suconghou
Dec 27 2017 02:11
@ivanpopelyshev I still do not know how to do the hitarea mask , I tried to remove the else word , but it does not work , and the container is not moveable .
@R_Talon_twitter
Dec 27 2017 09:28
Hello!! I'm testing the pixi v5 alpha for load video with transparency ( webm ). I read about a loader flag. It's possible?
I'm reading the new documentation, but i cannot find nothing
@R_Talon_twitter
Dec 27 2017 10:26
I have seen a example with webm with channel alpha in Phaser. https://phaser.io/examples/v2/video/alpha-webm#download
So, is possible load and view correctly a video with alpha. What is the problem with PIXI? :(
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 11:24
@suconghou I dont understand your code, like, at all :)
also I know that InteractionManager patch has to work. Make a fiddle, ill look at it
suconghou
@suconghou
Dec 27 2017 14:34
@ivanpopelyshev I have made a demo here , would you please help me ? jsfiddle.net/suconghou/ckrtbsn6/2/embedded/
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 15:26
@suconghou i can help but you have a number of points there, and that will take time.
also you didnt override processInteractive like i said
im currently out-of-context, so you have to wait when i have free time - no guarantees on exact time
suconghou
@suconghou
Dec 27 2017 15:27
I tried and it does not work , so I does not know how to do
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 15:27
add it to fiddle and lets see the results
ill fix it if you do it wrong
i just dont want to do it myself )
i need to see what exactly you do wrong there
also, pixi.js better be added in "external resources"
suconghou
@suconghou
Dec 27 2017 15:28
ok
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 15:28
and not minified version
@ivanpopelyshev
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 15:42
checking it
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 16:05
tryhing to fix it
suconghou
@suconghou
Dec 27 2017 16:06
thank you !
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 16:11
ok, this has to work: http://jsfiddle.net/ckrtbsn6/5/ , but it doesnt
i dont know why
im debugging it , but it took 20 minutes already, so i just stop it and do later
the idea is to add one more container inside c1 which has same hitArea as its localBounds, so interactiveManager if's cant affect it
but it just doesnt work i dont know why
And it looks like an actual issue
you can post my version on https://github.com/pixijs/pixi.js/issues , with same points you specified
it looks like real issue that guys who make Interaction has to look at
suconghou
@suconghou
Dec 27 2017 16:14
ok
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 16:15
please pay attention that it works if I comment "c1.mask = ..."
also "area" can be switched to a graphics with rect made of "getLocalBounds" param and a blue color, it will be the same thing
the issue is about mask
suconghou
@suconghou
Dec 27 2017 16:17
yes , the mask just like make opacity:0 to the overflow
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 16:17
in css yes. here its different
completely different implementation
Thank you for that thing, its definitely pixi bug
though no guarantees on when it'll be solved, core team is on christmas holidays, and I failed to find WTF is happening there
i cant spent more time on it today (
suconghou
@suconghou
Dec 27 2017 16:20
that's all right
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 16:57
ok, good, now you have to wait when someone solves it. may be i'll have free time these holidays )
suconghou
@suconghou
Dec 27 2017 16:58
hope it will be solved these days
Ivan Popelyshev
@ivanpopelyshev
Dec 27 2017 16:58
@suconghou
congratulations with your first pixi issue!
suconghou
@suconghou
Dec 27 2017 17:00
😄