PixiJS Particle Emitter - Animated Random

Animated Random is a texture behavior that randomly select an animation, from a set of animations, for each particle.

You should use a spritesheet for particles. If you use more than one sprite, make sure to use with a regular Container, not a ParticleContainer, as a Particle Container only works with one image.

Great free sprites from GameArt2d

Parameters

Animated Random Behavior Example:

Animated Random Behavior Configuration: – other configuration excluded for brevity

{
  type: 'animatedRandom',
  config: {
    anims: [
      {
        framerate: 12,
        loop: true,
        textures: [
          "/images/walk0.png",
          "/images/walk1.png",
          "/images/walk2.png",
          "/images/walk3.png",
          "/images/walk4.png",
          "/images/walk5.png",
          "/images/walk6.png",
          "/images/walk7.png",
          "/images/walk8.png",
          "/images/walk9.png",
        ]
      },
      {
        framerate: 12,
        loop: true,
        textures: [
          "/images/fwalk0.png",
          "/images/fwalk1.png",
          "/images/fwalk2.png",
          "/images/fwalk3.png",
          "/images/fwalk4.png",
          "/images/fwalk5.png",
          "/images/fwalk6.png",
          "/images/fwalk7.png",
          "/images/fwalk8.png",
          "/images/fwalk9.png",
        ]
      }
    ]
  }
},

PixiJS Particle Emitter: The Unauthorized Manual