Skip to content

Some helper methods for the text-based game engine Twine

Notifications You must be signed in to change notification settings

abookish/twineHelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

twineHelpers

Some helper methods for the text-based game engine Twine

setCurrentPath: is designed for games with multiple ending outcomes, and will help you track the ending with the highest score so you can dynamically branch as you go. Just define each outcome as a varible and increment based on user choices. Then, input those variables in const arrayVarNames = ["variableNameReplaceMe"] in pathTrackingHelpers

The methods in inventoryHelpers are a simple inventory system for twine games. Create an array variable "inventory" and add to it in-game. Then, for a list of items in inventory, use getInventoryText

About

Some helper methods for the text-based game engine Twine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published