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
| Storyboard | Named in | When |
|---|---|---|
| Logo | system.def [Files] logo.storyboard | Once at launch, before the first title screen |
| Intro | system.def [Files] intro.storyboard | Right after the logo |
| Character intro | the fighter’s .def, [Arcade] intro.storyboard | ARCADE, after the fighter select, before the first fight |
| Character ending | the fighter’s .def, [Arcade] ending.storyboard | ARCADE, 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]
| Key | Meaning |
|---|---|
localcoord | Canvas size (default 320, 240), scaled to the window; wider windows show the clear colour at the sides |
spr | Sprite file (next to the storyboard, else in data/) |
snd | Sound file for soundX.value |
font0 .. font9 | Fonts for text layers (next to the storyboard, else font/) |
startscene | First scene to play (for testing) |
[Scene ...]
Scenes play in file order, whatever comes after Scene.
| Key | Meaning |
|---|---|
end.time | Length of the scene in ticks (60 a second); required |
fadein.time, fadein.col | Fade from a colour at the start of the scene |
fadeout.time, fadeout.col | Fade to a colour at its end (inside end.time) |
clearcolor | Background colour; -1 = none. Carried over to the next scenes when omitted |
layerall.pos | Position of every layer. Carried over |
window = x1, y1, x2, y2 | Layers are only drawn inside it. Carried over |
layerX.anim | An animation (X = 0..99, higher on top) |
layerX.text, layerX.font = font, bank, align | A text instead (\n breaks the line) |
layerX.textdelay | Ticks between letters (0 = all at once) |
layerX.offset | Added to layerall.pos |
layerX.starttime, layerX.endtime | When the layer shows; its animation starts with it |
soundX.value = group, number | A sound from snd (X = 0..99) |
soundX.starttime, soundX.volumescale, soundX.pan | When, how loud (percent), where (-127..127) |
bgm, bgm.loop | Music from this scene on; empty stops it; omitted keeps the current music |
bg.name | A 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.