thekayaker33

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Hi, If i apply a bulgepinch filter to a sprite and then rotate the sprite. it seems the filter is still stuck in the old spot. Is there a way to align a filter with a rotated sprite?
  2. Hi, I am trying to create holes in a pixi.graphics object. However, when the holes overlap, weird things happen. I read in the documentation for beginHole(), that this bug is known. Is there any workaround to this so that holes can overlap?
  3. I was originally using masks, but then I saw trim and thought it might be easier to use. It seems like I need to just go back to masks since modifying the pixi src isn’t something I’m familiar with
  4. Hi, I am trying to get a trim of a texture. HOwever, i want an angled rectangular portion of the texture. The PIXI.Rectangle class does not have an param for angle. It assumes angle = 0; So how would i get it, if i want angle = 60 degrees? So far this is what i have var yo = PIXI.Texture.from('characterekfwj.png', options); var frame = new PIXI.Rectangle(yo.frame.x, yo.frame.y, yo.frame.width, yo.frame.height); var crop = new PIXI.Rectangle(yo.frame.x, yo.frame.y, yo.frame.width, yo.frame.height); var trim = new PIXI.Rectangle(yo.frame.x, yo.frame.y, yo.frame.width, yo.frame.height); var ztexture = new PIXI.Texture(yo.baseTexture, frame, crop, trim);