Animated Single is a texture behavior that uses a single animation 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 Single Behavior Example:
Animated Single Behavior Configuration: – other configuration excluded for brevity
{
type: 'animatedSingle',
config: {
anim: {
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",
]
}
}
},