@cutin
Slide in a framed image, hold it for a while, then pull it out (a clue, an item, a close-up of a face and so on). With stay=true it stays until @cutin-hide and is kept in saves
- Standard plugin
- Waits until it finishes
- Can be written without the name
image
from
stay
When played, the sample game uses its own assets and character names.
Parameters
imageRequiredAsset (image)
Image to slide in
xNumber
Horizontal position of the center (px; the center of the screen if omitted)
yNumber
Vertical position of the center (px; the center of the screen if omitted)
widthNumber
Image width (px; the image's size if omitted; with only height, from the aspect ratio)
heightNumber
Image height (px)
max-widthNumber
Maximum width (px, including the frame and padding. Without width and height, the image is shrunk to fit, keeping its aspect ratio)
max-heightNumber
Maximum height (px, including the frame and padding)
paddingInteger
Default: 0Space between the image and the frame (px; filled with the frame color)
frameColor (#rrggbb)
Default: #ffffffFrame color
borderInteger
Default: 8Frame thickness (px; 0 for no frame)
fromright / left / top / bottom / none
Default: rightDirection it slides in from (none fades up in place)
rotateNumber
Default: 0Tilt (degrees)
inTime (300ms, 1.5s)
Default: 250msTime to slide in
timeTime (300ms, 1.5s)
Default: 1.2sTime to hold (not used with stay=true)
outTime (300ms, 1.5s)
Default: 250msTime to pull out (with stay=true, the default for @cutin-hide)
staytrue / false
Default: falseKeep it on screen (pull it out with @cutin-hide). It's kept in saves and shown again on load
nameText
Name (with stay=true, used by @cutin-hide to pull it out; showing one with the same name replaces it)
layerimages / fx / hud / overlay
Layer to place it on (images is the foreground inside the camera, fx is below the message window, hud is above the message window and below the blackout, overlay is above the message window and the blackout). If omitted, hud with stay=true (hidden while the screen is fully blacked out and during a chapter card), otherwise overlay
hide-windowtrue / false
Default: falseHide the message window while it's shown (with stay=true, only while it slides in)
waittrue / false
Default: trueWait until it's pulled out before continuing (with stay=true, until it has slid in)
skiptrue / false
Default: trueLets a click, the Enter key or a tap finish the effect at once. false prevents it (while skipping, it ends at once anyway)