| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-12-22 04:08:34 +0100 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-12-22 04:08:34 +0100 | 
| commit | d0d6117176d68b2345d36e81ccdaa447e9caa724 (patch) | |
| tree | 6cb8f3e4735a695be8c0922434df4c60f7cf82c7 /content/_index.md | |
Moving to Hugo.
Diffstat (limited to 'content/_index.md')
| -rw-r--r-- | content/_index.md | 56 | 
1 files changed, 56 insertions, 0 deletions
| diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..6d1c67a --- /dev/null +++ b/content/_index.md @@ -0,0 +1,56 @@ +--- +title: "Main" +--- +# Welcome to Tonkadur's website! +Tonkadur is a tool to create game narratives. + +### Find out all about Tonkadur + * **Plain-text format.** Just write in your favorite editor and use your usual tools. + * **Extensive description language (Fate).** You shouldn't feel restrained in what you can write. + * **Strong typing.** Reduce the likeliness of errors in your descriptions. + * **Very simple and small interpreted language (Wyrd).** Easily add support for Tonkadur to your engine. + * **LISP inspired syntax.** No weird symbols everywhere. No annoying indentation restrictions. + +Tonkadur provides a compiler from Fate to Wyrd, letting you freely describe +your stories using a feature rich language without having to worry about the +implications when it comes time to add support for it to your engine. + +### Sample: +{{< fatecode >}}(define_sequence in_your_room () +   (ifelse +      (is_member visited_your_room progress) +      (text_effect narrator +         You room is still a mess. You don't have time to clean things up, +         though. +      ) +      (text_effect narrator +         You room is a mess. You recall having been through every drawer while +         preparing your bag yesterday. While still unclear on how you are +         supposed to pack all the necessary things for what promises to be at +         least a year-long journey inside a small backpack, you cannot avoid +         but wasting more time contemplating the piles of items that didn't +         make the cut. +      ) +   ) +   (add visited_your_room progress) +   (player_choice +      ( +         ( Look for healing items ) +         (jump_to look_for_healing_items) +      ) +      ( +         ( No time! Let's go adventuring! ) +         (jump_to leave_your_room) +      ) +   ) +) +{{< /fatecode >}} + +### Known alternatives +* [Inkle's Ink](https://www.inklestudios.com/ink/). +* [Yarn Spinner](https://yarnspinner.dev/). +* [DLG](https://github.com/iLambda/language-dlg). Nowhere near as popular as the +other two alternatives, but its approach shares more similarities with Tonkadur. + + +### Syntax Highlight Test: | 


