LiminaliaLiminalia
How-to: Roll the staff credits

Roll the staff credits

Open in Claude (new tab)
On this page

You can roll the staff credits in the ending just by writing their content between the staff roll command (@staff-roll) and @end. The game doesn’t go on to the next line until the credits finish scrolling.

The examples on this page use the project you make in the tutorial, “Shiori of the Library.”

Write the content

A staff roll’s content runs to many lines, so write it in the code view.

  1. Select the last line of the ending, and click “Code” at the top.
  2. On the next line, write @staff-roll time=30s bg=#000000, then the content below it, and @end at the end.
The code view, with headings and names between the @staff-roll line and @end.
Content lineWhat appears
# HeadingA heading, such as a role
Text such as namesThe text as it is
Empty lineA gap
{img logo.png}, {img logo.png 120}An image (from the “Images” assets; the number is the height in px)

In the block view, the content is shown together in one card.

The "Staff roll" card in the block view.

Check it by playing

Headings and names scroll from the bottom to the top over a black background.

Headings such as "Story" and "Art," and names, scrolling over a black background.
ParameterWhat it setsDefault
timeTime to finish scrolling60s
bgThe color laid behind it (write it like #000000cc to make it translucent)None
fadeFade time at the start and after it finishes scrolling1s
skipLets a click skip to the endOn

To keep players from skipping it with a click, write skip=false. While skipping, the game moves on without scrolling.

Put the content in a separate file

For a long staff roll, write the content lines as an array of strings in a JSON file in the data folder, and point to it with file=. In this case, don’t write @end.

["# Story", "The Shiori of the Library team", "", "# Music", "Free assets"]
@staff-roll file=credits time=90s bg=#000000

In code

@staff-roll time=30s bg=#000000
# Story
The Shiori of the Library team

# Art
Sample sprites and backgrounds

# Music
Free assets
@end

For details, see @staff-roll.

Commands used on this page

@staff-roll