Jump to content
Search Community

_Ro

Members
  • Posts

    1
  • Joined

  • Last visited

_Ro's Achievements

  1. Yes, it is very much possible to swap a pixi sprite's texture with gsap. I was able to swap the texture of a sprite with a canvas this way: const dataUrl = canvas.toDataURL('png'); const base = new PIXI.BaseTexture(dataUrl); const newTexture = new PIXI.Texture(base); gsap.set(resource, { pixi: { texture: newTexture} });
×
×
  • Create New...