prototype
MAmattpocock/skills337k4,978 new stars in the last 7 days
Builds visual novels and choice-driven stories in Ren'Py or any engine: routes and endings, save-anywhere, backlog, skip-read-only and typewriter text. Use for a VN or dating sim, or loads at the wrong line, skip running through unread text or an unreachable ending. Not for dialogue in a larger game or Ink and Yarn (`dialogue-systems`) or text box widgets (`godot-ui-control`).
Owns the shape of a branching story and the reading conveniences players expect. The script runtime (Ren'Py, Ink, Yarn Spinner) does the stepping; this skill decides routes, flags, saves and the reader-facing systems, and checks them.
When not to use: NPC conversations inside another genre (dialogue-systems, with rpg
for quests); Ink or Yarn integration code (dialogue-systems); the text box and choice menu
widgets (godot-ui-control, game-ui-ux).
game/*.rpy), the engine already has save-anywhere,
rollback, history, skip, auto-forward and text speed: restyle its screens and preferences,
and spend the effort on routes and flags. Elsewhere, build those systems from refs §4-5../renpy.sh <project> lint --error-code (exit 1 on lint errors), and
./renpy.sh <project> test for scripted test cases (8.6.2 and later quit when they finish,
exit 1 on a failure; older versions wait for input unless a teardown runs exit);inklecate -o story.json story.ink (exit 1 on compile errors; for word counts run
inklecate -s story.ink separately: it writes no JSON and exits 0 even on a broken story),
then a breadth-first walk with inkjs: Continue() while canContinue, save
state.ToJson() at each choice, LoadJson() and ChooseChoiceIndex(i) for each branch,
and collect currentTags at each end. Tag ending lines (for example # ending: alice_good) and assert every planned ending appears. Cap the depth and dedupe states
for big scripts;| System | Default | Notes |
|---|---|---|
| Text speed | instant or fast by default, with a slider | Ren'Py's own default is instant (preferences.text_cps = 0) |
| Skip | read text only; stops at choices and unseen lines | Ren'Py: preferences.skip_unseen = False |
| Auto-forward | delay scaled by line length; pauses at choices | Ren'Py: preferences.afm_time = 15 |
| Backlog | 100-200 lines, with voice replay | Ren'Py: the stock history screen (_history_list, config.history_length = 250 in the default gui.rpy) |
| Saves | many slots with thumbnail, date and chapter, plus quick save | autosave at chapter starts and before choices |
| Galleries | CG, music and ending lists unlocked across all saves | Ren'Py persistent data |
# Set the full text once, then reveal by visible-character count.
def show_line(speaker, text):
name_label.text = speaker
body.text = text # wrapping decided once, on the full text
shown = 0.0
while shown < visible_length(body) and not advance_pressed():
shown += cps * frame_dt()
body.visible_characters = int(shown)
wait_frame()
body.visible_characters = -1 # first press completes the line
backlog.append((speaker, text)); seen.add(line_id)
wait_for_advance() # second press moves on
Godot 4.7: RichTextLabel.visible_characters with visible_characters_behavior = TextServer.VC_CHARS_AFTER_SHAPING (the default leaves hidden text out of line breaking, so
words still jump). Unity 6.3: TMP_Text.maxVisibleCharacters.
state.ToJson(); Yarn Spinner restores only the node (refs §4).define (meant for constants)
instead of default. Story state uses default.references/script-and-flow.md: read when designing the script data model, choosing a
route structure, picking ending logic from flags, writing save-anywhere data (Ink, Yarn
Spinner and Ren'Py specifics), backlog, skip and auto behaviour, staging conventions or
localisation.Related: dialogue-systems (Ink and Yarn runtimes), save-systems (slots, versioning),
game-ui-ux with godot-ui-control (text box, choices, backlog screen), audio-design
(music, voice), prototype-fast (test the branch map in plain text first).
Last verified: 2026-11-30.
text_cps = 0, afm_time = 15, skip_unseen = False):
https://www.renpy.org/doc/html/preferences.html. lint --error-code and test:
https://www.renpy.org/doc/html/cli.html; test exit status:
https://www.renpy.org/doc/html/testcases.html.-s only prints story stats (no JSON, exit 0 even on
errors) (inklecate/CommandLineTool.cs in https://github.com/inkle/ink, ink 1.2.1).Continue(), canContinue, currentChoices, currentTags,
ChooseChoiceIndex(), state.ToJson(), state.LoadJson().DialogueRunner.Dialogue.CurrentNode (refs §4) still exists in it.MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
FIfirecrawl/firecrawl215k5,595 new stars in the last 7 days
Apply color and font themes to slides, docs and web pages, with 10 built-in themes.
ANanthropics/skills203k3,265 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills203k3,265 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills203k3,265 new stars in the last 7 days