Play mode


Overview

On play mode, you can test and prototype your project as a choose-your-path game. Every turn, the player advances the story by choosing one of the available options.

Μore specifically:

  • The game begins at the starting element.
  • At each turn, Arcweave renders the content of one element—the current element.
  • The current element's cover image appears on the top of the play mode window.
  • The current element's text content appears under it.
  • Any available outgoing connections appear as clickable option buttons at the bottom.

{info} To let others play your project, you must make it public, first.

Setting play mode start

To run your project on play mode, you must first set the play mode start. Otherwise Arcweave does not know which element to begin with.

To set the play mode start:

  • Right click on an element.
  • Select Set play mode start.

To remove the play mode start:

  • Right click on the element.
  • Select Remove play mode start.

{info} There can only be one starting element in a project.

Entering play mode

To run your project on play mode, click on the play icon at the top right of the workspace.

{success} Making changes in your project updates play mode in ⚡ real-time!

Changing order of options

The play mode is actually the only environment where you can reorder an element's clickable options.

While running your project on play mode, drag and drop options to the desired order. Arcweave will save your preferences.

Debug

When Arcweave renders an element containing arcscript segments, it runs them in the order they appear. If those segments assign new values to variables, you can inspect the changes using the play mode's debugger.

To open the debugger:

  • Click on an empty area of the play mode's browser window.
  • Click on the Debug button, at the bottom right corner.

The debug drawer shows the number, name, type, and current value of each of the project's variables, tracking any changes in real time.

{primary} When your game's logic doesn't work as expected, the debugger helps you define and fix bugs by demonstrating irregular behaviours of variables.

Debug info is visible only to the owner and editors of a project. If you can see the other UI elements but not the debug button, make sure that you are either the owner or an editor of the project.

{primary} To have an element "revisit" itself in Play mode you can do it via a connection to a jumper linking to that element.