Files
faust-vn/docs/adaptation-rules.md
T
2026-10-17 09:48:15 +02:00

67 lines
3.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Adaptation rules
How a play becomes a visual novel. The text is never rewritten, abridged or reordered:
every verse line of the scoped text is shown, in order. What changes is *how* it is
shown. Generic rules are implemented in `src/vnpipe/renpy_gen.py`; work-specific choices
live in `works/<id>/work.toml` (`[staging.*]`, `[[cues]]`, `[cast.*]`).
## Principle: show less, suggest more
A VN tempts you to draw everything. Romantic verse drama works better when the image
sets the mood and the words carry the scene. So:
1. **Draw people only when they converse.** Sprites appear in dialogue scenes (the
theatre, Mephistopheles before the Lord, Faust in his study).
2. **Never draw the ineffable.** The Lord is a radiance (`bg_heaven_lord`), never a
figure; the Earth Spirit is a lighting change plus a flash and a shake
(`bg_study_spirit`), never a sprite. Their lines still carry a name and colour.
3. **Lyric passages are full-screen text (NVL).** The Dedicatoria (the poet's own voice)
and the archangels' hymn are read as poems over a background, without a dialogue
box or sprites.
4. **Choral or crowd presences belong to the background.** The three archangels are
painted into `bg_heaven`, not drawn as three sprites.
5. **Stage directions are narration**, shown in italics by the narrator. Directions that
change the scene also trigger a cue (background, tint, transition). Cast lists under
a scene heading are not shown; they only inform who is on stage.
6. **One background per location**, plus variants only where the text itself changes
the light (macrocosm sign, Earth Spirit, heaven closing).
## Text rhythm
- Each scene opens with a title card (scene heading, centred, over black).
- Verse is grouped into text boxes of at most **4 lines**, never crossing a stanza or a
speaker change. In NVL, a whole stanza (max 8 lines) is shown before the page clears.
- Split verse lines (a line shared between two speakers, printed deeply indented) are
shown as their own box so the exchange keeps its speed.
## Sprites and expressions
- The annotation gives each line one emotion from a fixed vocabulary: `neutral`,
`joyful`, `melancholic`, `solemn`, `ironic`, `angry`, `fearful`, `ecstatic`.
- `work.toml` maps that vocabulary to the 3–4 expressions each character actually has
(`[cast.<id>].expressions`). A text box uses the emotion of its first line.
- Positions (`left`, `center`, `right`) come from the annotation, but the first
position a character gets in a scene is kept for the whole scene, so nobody jumps
around between boxes.
- Characters with `sprite = false` are never drawn, even if annotated as on stage.
## Transitions
- `dissolve` between expressions and on sprite entry/exit, `fade` between scenes,
`slow` (2 s dissolve) for light changes, `flash` for supernatural apparitions.
## Music
Every line carries an optional music mood (`contemplative`, `comic`, `sacred`,
`ominous`, `mystical`, `none`). The prototype ships without audio; the generator emits
`play music` only when `game/audio/<mood>.ogg` exists, so adding files is enough.
## Staging for Faust (work.toml)
| Scene | Base | Notes |
|---|---|---|
| Dedicatoria | `bg_dedication`, NVL | The poet's voice; no speaker name. |
| Prólogo en el teatro | `bg_theatre`, ADV | Director, Poet and Clown as sprites. |
| Prólogo en el cielo | `bg_heaven`, NVL | Hymn as full-screen text; switches to ADV + `bg_heaven_lord` when Mephistopheles speaks; heaven closes → dark tint. |
| De noche | `bg_study`, ADV | Macrocosm sign → `bg_study_macrocosm`; Earth Spirit's sign → red tint; apparition → `bg_study_spirit` + flash + shake. |