-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
First of all, thanks for this amazing library. I am trying to get it working but for some reason my effect doesn't look like the example.
- Borders don't look burnt (look at the attached gif).
- Effect size is too big and I can't control it (I tried with go.set("#sprite", "dissolve.z", 0.01) but it doesn't seem to work).
This is what I did after adding the dependency.
Required the library
local dissolve_fx = require("dissolve_fx.dissolve_fx")
Init the library (images are in the same atlas as the sprite)
dissolve_fx.init("#sprite", "noise", "ramp", "cover")
go.set("#sprite", "dissolve.z", 0.01)
go.set("#sprite", "dissolve.w", 0.0)
Animate
go.animate("#sprite", "dissolve.w", go.PLAYBACK_LOOP_PINGPONG, 1, go.EASING_LINEAR, 3)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
