PlottiPlotti Docs
Screen

The screen

Meters, panels, buttons and cards around the story, including cards in your own HTML and CSS.

Around the picture and the lines, the player's screen shows what you choose: HP as hearts, a relationship as a bar, a status panel, buttons, item cards. You decide what goes where; the platform fits it to every screen, from a phone to a wide monitor.

HP3 / 5
♥♥♥♥♥
Trust40 / 100

A note slides in under the door.

Top left of the picture: HP as hearts, Trust as a bar.

The default

With nothing arranged, the player sees the platform default: the protagonist's character sheet and every other visible variable in the top left, and the clock in the top right. A variable is visible when its Visible to the player is on. See Variables.

Arranging the screen

Open Screen in the left rail and click Arrange it myself. The panel shows a map of the player's screen, and beside it the screen At the story's start, on a Phone or a Wide screen.

Screen panel: a map of the player's screen

There are three places to put things: Top left, Top right, and Beside the picture, in Panels. Click + where you want something. Each item has:

  • Look: Value, Meter, Yes / no, Character sheet, Text, Clock, Buttons or List. A meter's Shape can be Solid, Segments, Hearts, Pips or Ring, with an optional Colour;
  • what it shows: the variable it reads;
  • Where: where it goes;
  • Shown when: a condition that hides it until it holds;
  • When space is short: Stays on screen or Folds first;
  • Buttons: see below.

A value the player cannot see shows as —, never as a made-up 0.

On a phone, the picture is on top and the story below. A thin strip between them shows the numbers in one line; tapping it opens everything else.

Buttons

A button on the screen can be pressed in any scene where it shows, whenever the story is waiting on the player. It can change variables, lead to a node, or ask the player for a line, which then counts as their turn. Shown when hides the button; a condition with a reason greys it out instead.

On a phone, items fold away when space is short, so anything the scene depends on should also be an option in the scene.

Cards

A card is a box over the story: an item, a letter, a found note. Show one with the Show a card step (under On screen in the step menu). The story waits until the player closes it.

A card made in place is an Inline card: it has a Card look (Plain, Letter or Heading), a Title, a Text and an optional Picture. Custom design turns it into one of the story's cards, kept in the Cards tray of the Screen panel, so several places can show it.

A choice that waits for a pick can be Shown on a card, with its options as the card's buttons. An automatic event can also show a card, with Opens a card.

Your own HTML and CSS

Any item on the screen, cards included, can have a look you design. Switch its look from Standard to Custom under Custom HTML, then write the HTML and CSS.

  • {{name}} puts in a value the item reads.
  • A <button> with data-action, data-opens or data-close becomes one of the item's buttons. Any button you leave out is added for you.
  • A number with a minimum and maximum is also passed to the CSS as --name, from 0 to 1, so you can draw your own bars.
  • Pictures come from the story's own pictures, named with data-asset.

For safety, the look runs in its own box: no scripts or event handlers, no links or outside files, no @import or fonts, and at most 8,000 characters each of HTML and CSS. A look that breaks a rule is not drawn, and the standard look shows instead.