These are chat archives for pixijs/pixi.js

20th
Oct 2015
CragVFX
@CragVFX
Oct 20 2015 15:00
So, does anyone know how to do a resize on the fly? For example, I want to resize when a phone user tilts the phone to the landscape view without having to refresh the page.
acopalipsis
@acopalipsis
Oct 20 2015 18:07

How to do the following -
1) to frame an image with a translucent gradient.
2) read the pixel values from the image, which turned out to be the first step.

How such to make? Please write a brief step by step guide.
And another important point - the picture and the gradients must not fall into the display list.

I managed to make all the individual parts. But can't collect, so as to obtain the pixel color you need to keep the context of the canvas.
But can't collect, so as to obtain the pixel color you need to keep the context of the canvas.
In the sprite.texture.baseTexture.source returns one of the inverted gradient, kartinki on canvas no.

Matt Ostgard
@MattOstgard
Oct 20 2015 22:10
Anyone know how to apply gl.CLAMP_TO_EDGE to a sprite's texture?