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 or icon appears on the top of the play mode window.
  • The current element's components images or icon thumbs appear under the cover image
  • 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.

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.

Quickstart from any element

You can also choose to quickstart play mode from any element in your project. To do that:

  • Right click on an element.
  • Select Quickstart Play mode from here.

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 icon, at the top navbar.
  • You can resize the debugger by dragging the left vertical line separating it from the play mode current view.

The debug drawer shows the number, name, type, before and after value of each of the project's variables, tracking any changes in real time. You can change on the fly the before values of the variables to inspect how their after value changes in real-time.

{success} 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.