Skip to content

Npm package for creating dynamic text in interactive fictions

Notifications You must be signed in to change notification settings

shinsendev/texty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texty, a tool for writing dynamically texts in fictions

Gender conversion

In french

<:'elle','il'> est né<:'e',> à Lyon.

Will become, if gender narrator is female associated:

elle est née à Lyon

Dynamic text

We can inject dynamic value inside text with the following syntax:

<:name> is a person.

Conditional text (wip)

<:if(sanity > 4)"You read the article", "You try to read but you don't understand anything.">

About

Npm package for creating dynamic text in interactive fictions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published