Back to Trama

Docs

Learn how to configure story nodes, answers and references. Each section includes setup instructions, an example and the feature’s limitations.

Select a feature in the index to go directly to its section.

Feature index (12)

01 / Logic and player state

Configure state changes, answer requirements and connections between nodes.

Content nodes

A content node is a scene: it shows a passage and can offer answers that let the player choose their path.

Setup

  1. Create a content node on the board and write its passage.
  2. Add answers for the choices the player can make.
  3. Connect each answer to its destination node. If there are no answers, connect the node directly to the next scene.
A scene with two paths

Passage: You reach a crossroads.

Answer: Enter the forest → forest scene

Answer: Follow the river → river scene

Notes and limitations

You can also add an image and events to the scene. Answers need a connected destination to be playable; requirements can limit which answers are available.

Events on scenes and choices

Events modify numeric stats, conditions or text properties when the player arrives at a node or selects an answer.

Setup

  1. Choose Add event on a node to act when the player arrives, or on an answer to act when they choose it.
  2. Choose a numeric stat, a true/false condition or a text property. Name the reference so you can reuse it elsewhere.
  3. Set the change: add or subtract a number, turn a condition on or off, or assign a property value.
A choice with a consequence

Help the stranger → trust +1

Pick up the key → has_key becomes true

Notes and limitations

Node events run on each arrival, including repeat visits. Answer events run before the story moves to the next node.

Conditional paths

Use a distributor to select the next node based on the value of a numeric stat or a player condition.

Setup

  1. Use events to record a numeric stat or a true/false condition during the story.
  2. Connect the path to a distributor node that checks those references.
  3. Connect each matching route to its scene, and add an Otherwise destination for everyone else.
Example: routing by a condition

has_key is true → enter the archive

Otherwise → meet the gatekeeper

Notes and limitations

Routing checks numeric stats and true/false conditions. Player text, such as their name, can be reused in the story’s wording with interpolation.

Answer requirements

Requirements restrict an answer’s availability based on a minimum numeric value or a true/false condition. Every requirement on the answer must be met.

Setup

  1. Choose Add requirement on the answer you want to restrict.
  2. Select a numeric stat and its minimum amount, or a condition that must be true or false.
  3. Add more requirements if needed. The player must meet every requirement on that answer.
Example: requirements on two answers

Buy the map → requires at least 3 coins

Open the archive → requires has_key

Notes and limitations

Answers whose requirements are not met are filtered out of the current playground. Connect eligible answers to a destination so they can be chosen.

Distributor nodes

Build more complex routing without showing the player an extra question. A distributor evaluates its routes in order and continues through the first one that matches.

Setup

  1. Create a distributor node and add a route.
  2. Choose a reference and comparison. Numeric stats support equal to, less than and more than; conditions check whether they are true or false.
  3. Use Add AND rule to combine checks. Every rule on the route must match.
  4. Use Up and Down to set priority, then connect Otherwise as a fallback.
Example: route order

Route 1: trust > 2 AND has_key → secret entrance

Route 2: trust > 2 → front entrance

Otherwise → gatekeeper

Notes and limitations

The first matching route wins. Put more specific routes before broader ones. A distributor is a routing step, not a scene the player reads.

Connect to text or directly to answers

Choose whether a connection shows the next node’s passage or jumps straight to its answers. Return to a menu without making the player reread its introduction.

Setup

  1. Drag a connection from a node, answer or distributor route to its destination.
  2. Connect to the destination node’s main input to show its text and then its answers.
  3. Connect to the answers input to skip the passage and offer the choices directly.
Two ways back to the same scene

First visit → market text + shopping choices

Return from a shop → shopping choices only

Notes and limitations

If an answers-only destination has no available answers, the playground shows its passage instead. Node events still run when you arrive.

02 / Text, images and sharing

Collect player text, insert values into passages and configure images and sharing options.

Ask the player for text

A text-input node stores the player’s written response in a property for the current playthrough. This property can be reused in scenes and answers.

Setup

  1. Create a text-input node and write the question in its Prompt field.
  2. Set Property to a key such as name. This is where the player’s response is stored.
  3. Set a placeholder if useful, and connect the node to the next scene.
  4. Reuse that property in later scenes or answers with a variable token.
Example: storing and displaying a name

Prompt: What should we call you?

Property: name · Player writes: Morgan

Later: Welcome back, #name. → Welcome back, Morgan.

Notes and limitations

The response belongs to the current playthrough. The playground currently uses a fixed Continue button; the saved Button text and Description fields are not displayed there yet.

Variables inside your text

Variables display the current value of a property, numeric stat or condition within the text of a scene or an answer.

Setup

  1. Create the reference with an event, or store a player response in a text-input property.
  2. Open focus mode and use Insert variable to choose the reference by name.
  3. Place the token wherever its current value should appear in a scene or answer.
From a token to a sentence

You made it, #name.

Player property name = Morgan

The reader sees: You made it, Morgan.

Notes and limitations

Plain text also supports #variable syntax. For a property named name, use #name; numeric stats and conditions use their reference IDs in plain text. The variable picker handles those IDs for you. Missing values display as a dash.

Images in nodes

Content, text-input and end nodes can display an image above the passage. Distributor nodes do not support images.

Setup

  1. Open the menu on a content, text-input or end node and choose Add image.
  2. Choose an image file and wait for the upload to finish.
  3. Preview the story: the image appears above the node’s passage.
A visual clue

Image: a letter with a broken seal

Passage: The handwriting looks familiar.

Choices: Read it / Hide it

Notes and limitations

Distributor nodes are for routing and do not have an image field. Basic has image limits; Creator includes unlimited images.

Share and end nodes

End nodes can offer a story-sharing button and external links. The message and button label are configured for each ending.

Setup

  1. Create an end node and write the final passage.
  2. Open Share your story to copy the reading link. Anyone with it can play without an account.
  3. Enable Show a share button at the end of the story in the same window.
  4. Use Share customizations to set the message and button label for that ending.
  5. Add External links with your own labels and URLs, such as your website or creator profiles.
After the final scene

Share button: Pass this adventure on

Shared message: I found the secret entrance. Can you?

External links: More stories / Meet the creator

Notes and limitations

Reading links show the latest saved story, not a separate published copy. The end-of-story share button uses the device’s share sheet or copies the link, with a spoiler-free message by default. External links take readers to your profiles, rather than integrating with each social network.

03 / Editing and board organisation

Edit passages in an expanded view and organise nodes with groups or frames.

Focus mode for long passages

Focus mode expands a scene or answer text field and provides formatting and variable-insertion tools.

Setup

  1. Use the expand button on a scene’s text field or an answer to open focus mode.
  2. Write with bold, italic and variable tokens. Scene passages also support headings and lists.
  3. Choose Close, or press Escape, to apply your writing back to the node.
Example: editing a passage

Open a scene → expand its text field

Edit and format the text in the expanded view

Close → return to the same story map

Notes and limitations

Ctrl+F or ⌘F opens focus mode while a story text field is active. Answer fields use a simpler inline-formatting toolbar.

Groups and movable frames

Groups contain nodes on an internal board. Frames keep nodes visible on the current board and let you move them together.

Setup

  1. Select related nodes on the canvas.
  2. Choose Group selected nodes to place them inside a group. Open the group to work on its contents and use Exit to return.
  3. Choose Frame selected nodes instead to keep them visible together on the same board. Name the frame and drag its header to move the collection.
  4. Remove a frame when you no longer need it; its nodes remain in the story.
Two ways to organise Chapter 2

Group → one container, with scenes inside

Frame → all scenes visible, moved together

Notes and limitations

Groups and frames are editor organisation tools, not playable scenes. They do not change the story’s logic. The Start marker stays on the main board and can point to a scene inside a group.

Practice

Try the features in the editor

Open the editor