-
Notifications
You must be signed in to change notification settings - Fork 226
Background features
Ikemen GO adds a fourth background element type that plays a video as part of the background definition. It follows the same [BG ...] block format as other elements and participates in draw order exactly like them.
-
Containers: WebM (
.webm), Matroska (.mkv) - Video codecs: VP8, VP9
- Audio codecs: Opus, Vorbis
Audio plays if present in the media.
- Stages: base pivot is the center of the screen.
- Motifs & storyboards: base pivot is the top-left of the screen.
Must be video.
Path to the media file. By default it resolves relative to the engine’s video directory (you may also use absolute paths).
Audio playback volume (defaults to 100).
Set to 1 to loop the video (defaults to 0).
How the video frame is sized into the window (defaults to none):
-
none– No scaling. -
fit– Uniform scale to fit entirely inside; letter/pillar-box if needed. -
fitwidth– Match window width; center-crop vertically if taller; otherwise pad. -
fitheight– Match window height; center-crop horizontally if wider; otherwise pad. -
zoomfill– Uniform scale to fully cover window; center-crop overflow. -
stretch– Non-uniform scale to exactly fill (may distort).
Element‐level transforms like
scalestart/scaledeltaand camera zoom (zoomdelta,zoomscaledelta) are applied in addition to the size implied byscalemode.
Scaling filter (defaults to fastbilinear). Options:
lanczos, fastbilinear, bilinear, bicubic, experimental, neighbor, area, bicublin, gauss, sinc, spline.
The following work the same as for normal/anim elements unless noted.
layernostartdeltapositionlinkidvelocitysin.xsin.yscalestartscaledeltazoomdeltazoomscaledeltamaskwindow-
window(deprecated) windowdeltaroundposangle-
xangle(nightly) -
yangle(nightly) -
projection(nightly) -
focallength(nightly) -
xshear(nightly)
transalphapalfx