RUGENDOCS
Creating content

Storyboards

M.U.G.E.N storyboards (cutscenes) in rugen - the screenpack logo and intro, a fighter's arcade intro and ending, which keys work and how to test one with rugen storyboard.

A storyboard is a M.U.G.E.N cutscene: a .def file with a [SceneDef] group and one [Scene ...] group per scene, plus the [Begin Action n] animations its layers show. rugen plays the format of M.U.G.E.N 1.1 (storyboard.html in its docs), with Ikemen GO’s timing.

Where rugen plays them

StoryboardNamed inWhen
Logosystem.def [Files] logo.storyboardOnce at launch, before the first title screen
Introsystem.def [Files] intro.storyboardRight after the logo
Character introthe fighter’s .def, [Arcade] intro.storyboardARCADE, after the fighter select, before the first fight
Character endingthe fighter’s .def, [Arcade] ending.storyboardARCADE, after the last fight of a cleared ladder, then the title
; chars/kfm/kfm.def
[Arcade]
intro.storyboard = intro.def
ending.storyboard = ending.def

Paths are relative to the file that names them. A screenpack without storyboards starts straight on the title: rugen only looks the two keys up in system.def. The bundled Ink and Dojo themes have none.

Storyboards inside a fighter’s .rgc content file work like the folder: intro.def, its .sff and its sounds are packed with the fighter.

While a storyboard plays, START or Esc skips the rest of it (a short fade to black), and a fight button (A, B, C, X, Y, Z) jumps to the end of the current scene.

Testing one

rugen storyboard chars/kfm/intro.def
rugen storyboard kfm/intro.def          # a name under data/, like mugen -storyboard
rugen storyboard intro.def --frames 300 --shot scene.png

The window closes when the storyboard ends. [SceneDef] startscene = n starts at scene n while you work on it.

Supported keys

[Info] and [SceneDef]

KeyMeaning
localcoordCanvas size (default 320, 240), scaled to the window; wider windows show the clear colour at the sides
sprSprite file (next to the storyboard, else in data/)
sndSound file for soundX.value
font0 .. font9Fonts for text layers (next to the storyboard, else font/)
startsceneFirst scene to play (for testing)

[Scene ...]

Scenes play in file order, whatever comes after Scene.

KeyMeaning
end.timeLength of the scene in ticks (60 a second); required
fadein.time, fadein.colFade from a colour at the start of the scene
fadeout.time, fadeout.colFade to a colour at its end (inside end.time)
clearcolorBackground colour; -1 = none. Carried over to the next scenes when omitted
layerall.posPosition of every layer. Carried over
window = x1, y1, x2, y2Layers are only drawn inside it. Carried over
layerX.animAn animation (X = 0..99, higher on top)
layerX.text, layerX.font = font, bank, alignA text instead (\n breaks the line)
layerX.textdelayTicks between letters (0 = all at once)
layerX.offsetAdded to layerall.pos
layerX.starttime, layerX.endtimeWhen the layer shows; its animation starts with it
soundX.value = group, numberA sound from snd (X = 0..99)
soundX.starttime, soundX.volumescale, soundX.panWhen, how loud (percent), where (-127..127)
bgm, bgm.loopMusic from this scene on; empty stops it; omitted keeps the current music
bg.nameA background: [<name>Def] and [<name> ...] groups like a stage’s [BGdef] (normal, parallax, anim, tiling, velocity, trans); layer 1 elements draw over the layers

Something wrong on this page? Edit it on GitHub.

SEARCH !!

    ↑↓ to move, Enter to open