fantasycalendar / FoundryVTT-Sequencer

This module implements a basic pipeline that can be used for managing the flow of a set of functions, effects, sounds, and macros.
Other
41 stars 19 forks source link

[BUG] - in v3.0.3 .animation() .on(token) .opacity(0) does not work as in v3.0.1 #165

Closed quantiq closed 1 year ago

quantiq commented 1 year ago

new Sequence() .animation() .on(token) .opacity(0) .play();

new Sequence() .effect() .from(token) .attachTo(token) .loopProperty("spriteContainer", "position.x", { values: [0, 25, -25, 0], duration: 10000, pingPong: true }) .loopProperty("spriteContainer", "position.y", { values: [0, -5, 5, -10, 10], duration: 1500, pingPong: true, ease: "easeInOutSine" }) .persist() .play()

Expected behavior In the macro above the token it suppose to turn its opacity to 0 then the effect to copy the image of the token and give it a looping position like a hover above the ground.

Haxxer commented 1 year ago

Have you tried to disable bindAlpha on the .attachTo()?

quantiq commented 1 year ago

That was it. I have to re-read the wiki again it seams.