Releases: Aedif/Tokenmagic
Releases · Aedif/Tokenmagic
v0.6.1.3-beta
- Updated
pixi-filters.jsto v5.1.1 - Exposing Ascii, CRT, Dot, and RGB Split community filters through TMFX
- Added
alpha,alphaDiscard, andrepeatoptions to the FilterSprite - Added
alphaoption to FilterGlow - Re-assign Poly and Sprite textures upon
imagePathchange - Fixed
getPresetreturning presets in a dirty state - Added
randomizedfield which randomizes params before setting the flags- Accepts either arrays or objects that define the range to be used to generate the value
- Range object:
val1andval2define the rangestepdefines the incrementlinkallows to set another param to the same randomzied value (useful for multi-component params such as scaleX and scaleY
e.g.
{
filterType: "sprite",
filterId: "randomOverlay",
repeat: true,
alphaDiscard: true,
inverse: true,
gridPadding: 1,
translationX: 0,
translationY: 0,
top: true,
randomized: {
active: true,
imagePath: [
"modules/tokenmagic/fx/assets/distortion-1.png",
"modules/tokenmagic/fx/assets/dots-1.png",
"modules/tokenmagic/fx/assets/extrusion-1.png",
"modules/tokenmagic/fx/assets/noise-2.jpg",
"modules/tokenmagic/fx/assets/symbols-1.png",
"modules/tokenmagic/fx/assets/waves-1.png",
],
scaleX: { val1: 0.1, val2: 0.6, step: 0.01, link: 'scaleY' },
rotation: { val1: 0, val2: 360, step: 1 },
alpha: { val1: 0.5, val2: 1.0, step: 0.1 }
},
}Overlay:
overlay.mp4
Randomizer: