LiminaliaLiminalia
How-to: Show two characters talking side by side

Show two characters talking side by side

Open in Claude (new tab)
On this page

To show two or more characters at once, set a position (at) for each sprite. To make it clear at a glance who is speaking, you can also dim the ones who aren’t.

The examples on this page use the English sample story, “Waiting for Stars” (choose “A sample story” and English in New Project, or run lim new --lang en; the characters are Akari and Sou).

Show sprites at set positions

  1. Select the background block, and double-click “Sprite” in the parts panel.
  2. In the panel on the right, set who to “Akari,” click “normal” in the faces of variant, and set at to “left.”
The sprite's parameters. Choose who and at.
  1. Add another “Sprite” the same way, and set who to “Sou” and at to “right.”
The two characters side by side, left and right.

The positions you can choose in at are the ones set in “Position” on the Characters screen (left, center and right at first). With auto, the sprites line up evenly side by side for the number of characters on screen, and rearrange themselves automatically as characters come and go.

To change where the positions are or how large the sprites are, see Adjust sprite position and size.

Dim the one who isn’t speaking

  1. Type “sprite behavior” in the search box at the top of the parts panel, and double-click “Sprite behavior” in the results.
  2. In the panel on the right, set focus to “dim.”
Sprite behavior. Set focus to dim.

From then on, anyone who isn’t the speaker of the dialogue is dimmed. During narration, nobody is dimmed.

While Akari is speaking, Sou is dimmed.
While Sou is speaking, Akari is dimmed.
focusHow characters who aren’t speaking look
dimDimmed (set the brightness with dim, from 0 to 1; higher is brighter; 0.6 by default)
lowerMoved down a little (set how far in px with lower; 12 by default)
dim-lowerDimmed and moved down a little
blurBlurred
dim-blurDimmed and blurred
noneUnchanged (to go back to normal)

Check jump, and the character who starts speaking gives a small hop.

Who is speaking is decided by the name on the dialogue line (the character whose character ID is the same as that name; for a character who speaks under a different name, write that name in the character’s speaker in cast.json). As during narration, nobody is dimmed when the speaker’s sprite isn’t on screen.

Set it for the whole project

To highlight the speaker from the start, you can set it in the game settings instead of placing “Sprite behavior” in the script.

  1. Click “Game settings” at the top of the screen, and scroll the panel on the left down to “Sprite display.”
  2. In “Speaker highlighting,” choose how it looks (Dim, Move down a little, Dim and move down, Blur, Dim and blur).
  3. To change the strength, enter values in “Brightness (0 to 1)” and “Move down by.” To make the character who starts speaking hop, check “Hop when starting to speak.”

What you set in the game settings works from the start of the game. Once “Sprite behavior” is placed in the script, it takes priority from there on (setting focus to “none” stops it from that point). The “Sprite behavior” settings are kept in saves and stay the same after load.

It’s saved in liminalia.json like this.

"ui": { "chara": { "focus": "dim-lower", "dim": 0.7, "lower": 10 } }

“Keep the previous line while a sprite appears” is about the name box and text while the game waits for a new character to appear (“Sprite” with wait checked). By default, the name box and text are cleared unless the previous page’s speaker is that character; check it to keep them.

In code

@chara Akari normal at=left
@chara Sou normal at=right
@chara-config focus=dim
Akari "Good evening. Is it all right if I come in?"
Sou "Go ahead. This place doesn't belong to anyone anymore."

Commands used on this page

@chara@chara-config