A work-in-progress story-format in Twine, combining elements of Sugarcube with Python-like syntax.
Big thankyou and shoutout to Sugarcube for making game-making accesible to so many.
Make sure to checkout the Documentation!
Download the forked Twine Editor for Windows, for increased PyCube support!
See it in action, with an example, and it's source code.
- Python like-syntax,
if / elseblocks, using indentation. - Link to other passages by typing
[[link text | passage]]or[[passage]]. - Variables that can you display like {var} directly in the page.
- A growing number of bult-in cool macros.
In a passage titled Init:
$gold = 4
$health = 10
In the start passage:
Gold: {gold}
Health: {health}
Inventory: {inventory}
[[Make More Money | Next]]
In the Next passage:
$gold += 1
You got more gold!
if gold > 5:
Big money.
else:
Money is tight.
[[Return|Start]]
The end result!
Add the story format to your formats in the Twine editor:
The PyCube URL is: https://pycube.org/format.js