These are chat archives for pixijs/pixi.js

30th
Jan 2016
Ivan Popelyshev
@ivanpopelyshev
Jan 30 2016 12:16
@GoodBoyDigital @englercj I need consoltation on blendModes as soon as possible
Tamas Hortobagyi
@hortom
Jan 30 2016 14:17
Hi! Any idea why drop down the fps from 60 to 20-40 at portrait layout (980x1361), and go back to 60 at landscape layout (1280x631)? The +65% pixel count is so essential?(I listen to Browser.window.onresize and set the _renderer.view width and height.)
Ivan Popelyshev
@ivanpopelyshev
Jan 30 2016 14:19
resolution=1 , i suppose?
Tamas Hortobagyi
@hortom
Jan 30 2016 14:19
yes
resolution = 1, and doesn't matter if there anti-aliasing is on, or off.
Tamas Hortobagyi
@hortom
Jan 30 2016 14:25
If I remove everything (a text, a sphere masked object) then in portrait layout the fps goes up 30-60.
Ivan Popelyshev
@ivanpopelyshev
Jan 30 2016 14:27
which browser is it?
Tamas Hortobagyi
@hortom
Jan 30 2016 14:28
Chrome on Android.
Hmm. Can I attach the whole "stage" to a working mouse event? I experienced, that only event of a graphics element invoked. Now I use a full window size graphics shape to handle events.
Ivan Popelyshev
@ivanpopelyshev
Jan 30 2016 15:11
pixi interaction is kinda problematic :) you ccan make background element inside the stage that fits the screen
however it will only receive events that werent received by other containers
some sprite with "renderable=false" and width=renderer.width, height=renderer.height will do.
graphics shape that fits all sccreen can do that too :)
there's no way to "bubble" the event in pixi
Ivan Popelyshev
@ivanpopelyshev
Jan 30 2016 15:38
@englercj @GoodBoyDigital guys, I need you, help please