Skip to content

Renpy + Tracery: Use PyTracery to generate random text to provide text diversity in your visual novel.

Notifications You must be signed in to change notification settings

paulokopny/renpy_tracery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Renpy + Tracery

PyTracery for Renpy by Paul Okopny

Original PyTracery by Allison Parrish is available here: https://github.com/aparrish/pytracery

This is a single file version with TraceryCharacter class to use in Renpy

Tracery (http://tracery.io/) is a project by Kate Compton (http://www.galaxykate.com/)

Check Kate Compton's Tracery tutorial (http://www.crystalcodepalace.com/traceryTut.html) for more info

NB! In this version, use < and > instead of [ and ]. This change has to be made to be compatible with Renpy formatting language

How to use (see game/script.rpy for example)

  1. Copy the renpy_tracery.py file into the game directory of your Renpy project.
  2. Define grammar for your characte(s) in the python block of the .rpy file(s).
  3. Define character(s) using TraceryCharacter class.
  4. Create your game!

About

Renpy + Tracery: Use PyTracery to generate random text to provide text diversity in your visual novel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published