Skip to content

ParticleTexture beta ​

TypeAlias of @v12-engine/client

ts
export type ParticleTexture = 'dot' | 'soft' | 'puff' | 'spark' | 'flare' | 'ring' | 'drop' | 'square' | 'stain' | 'crack' | 'rays' | 'streak' | 'bubble' | 'splat' | 'plus' | 'leaf' | (string & {});

A texture particles are drawn with: one made in the page (dot, soft, puff, spark, flare, ring, drop, square, stain, crack, rays a sunburst, streak a soft line, bubble, splat a splatter, plus a cross, leaf), or a picture by its path under textures/ in the game's files or the shared ones ('fx/smoke.png', of @v12-engine/assets' fx group)