rmp::ui::DialogueStage
A visual novel's stage: big portraits of who is on it, the speaker in front and the rest dimmed, and the line in a box under them.
portraits
By speaker, and by mood
speakers
A box, a name plate and a voice each
flow
The typewriter, the blips, auto-advance, timed choices
portrait_height
Design units
enter_seconds, enter_offset
Who comes on stage slides in from their side and fades in, in this long.
enter_offset: ...from this far, in design units
focus_seconds, focus_lift, focus_scale, pauses_world, style, name_style, choice_style, dimmed, ours
The speaker comes forward — full colour, a little higher and bigger — in this long, and whoever stops speaking goes back as long.
focus_lift: Design units the speaker rises
focus_scale: The speaker's size against the rest
pauses_world: For rmp::behavior::Talker: the scene below waits
style: The box under the portraits
name_style: The name plate
choice_style: Each choice
dimmed: The tint of who is not speaking
ours: Its state between frames; yours to read
show
Draws the stage, the line or the choices, and takes the player's answer. True while the dialogue has something to show.
shake
The whole stage shakes, from strength design units down to none: a command's, <<quake>> -> stage.shake().
flash
The screen goes color and back, over seconds: a flash, a cut.