Skip to content

Machine

jeesay edited this page Apr 9, 2018 · 3 revisions

2.4. Machine

The machine is an interactive object triggering an action.

There are two main families of machines

  • Generic machines

    • download - an object used to download file.
    • form - using a syntax similar to the MOODLE Gap Fill
    • formDragDrop
    • formDropDown
    • tile - a draggable object (e.g. puzzle pieces)
  • Dedicated machine for exit in the game

    • lockDigit[n] -
    • lockNumerical[n] -
    • lockText[n] -
    • lockKeypad

To select a sub-category of machine, the syntax is:

  "class": <category>.<sub-category>

In the JSON storyboard, a machine of type download is defined with the following syntax.

...
  "id": 12,
  "class": "machine.download"
...

Clone this wiki locally