benoit-pixi

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by benoit-pixi

  1. So that's mean a big sprite and a json ?
  2. Hi, First post here Is it possible to add another child in a particule container ? Does I need a sprite sheet and how it works with ParticuleContainer ? /* more setup before */ const sprites = new PIXI.ParticleContainer(10000, { … }); app.stage.addChild(sprites); // array of texture const texture = [ PIXI.Texture.from('foo.jpg'), PIXI.Texture.from('bar.png') ]; // first let foo = new PIXI.Sprite(texture[0]); sprites.addChild(foo); // OK // second let bar = new PIXI.Sprite(texture[1]); sprites.addChild(bar); // not OK and no error in console /* Then FUN with GSAP */