LiminaliaLiminalia

@flipbook

Play numbered images frame by frame (slashes, explosions, light streaks and so on). Set the time per frame with time, durations or data. It disappears when it finishes

@flipbook effects/slash/slash_{nn}.png frames=8 durations=32,28,28,32,42,52,66,90 blend=screen

Parameters

image
Text
Path of the numbered images (inside folder. {n} is the frame number, {nn} pads it to 2 digits and {nnn} to 3; counting starts at 1). Can be omitted when data is given
folder
image / fgimage / bgimage
Default: image
Image folder
frames
Integer
Number of frames (when image contains {n})
time
Time (300ms, 1.5s)
Default: 80ms
Time per frame (when durations isn't given)
durations
Text
Time for each frame (milliseconds separated by commas, such as "32,28,28,32"; frames beyond the list use the last value)
data
Text
Data describing the frames (a JSON name in the data folder and a key, such as "flipbooks#slash"; contains { image, frames, durations, folder })
loop
Integer
Default: 1
Number of times to play (0 repeats until @flipbook-off stops it, and then doesn't wait)
name
Text
Name (with loop=0, used by @flipbook-off to stop it; playing again with the same name stops the previous one)
speed
Number
Default: 1
Speed factor
layer
images / fx / overlay
Default: fx
Layer to place it on (images is the foreground inside the camera, fx is the screen effect layer below the message window, overlay is above the message window)
x
Number
Default: 0
Left edge (px)
y
Number
Default: 0
Top edge (px)
width
Number
Width (px; the screen width if omitted)
height
Number
Height (px; the screen height if omitted)
opacity
Number
Default: 1
Opacity (0 to 1)
blend
Text (such as normal / screen / lighten / multiply / overlay / plus-lighter)
Default: normal
Blend mode (CSS mix-blend-mode)
reflect
true / false
Default: false
Flip horizontally
wait
true / false
Default: true
Wait until it finishes before continuing (never waits with loop=0)
skip
true / false
Default: true
Lets a click, the Enter key or a tap finish the effect at once. false prevents it (while skipping, it ends at once anyway)

Guides that use this command