Skip to content

Puzzle Format

Michael Fuller edited this page Mar 7, 2022 · 17 revisions

id:

The unique identifier for this puzzle.

This value has already been filled in.

x:

The X location on the map for this puzzle.

This value has already been filled in.

y:

The Y location on the map for this puzzle.

This value has already been filled in.

count:

The number of puzzle pieces

type:

The type of puzzle.

Possible values:

  • "LIGHT" - Puzzle changes number of lit lights
  • "SPIN" - Puzzle cubes rotate

camera:

The position of the perspective camera. This is used for "SPIN" puzzles. The camera is always looking at (0,0,0), so this is the position it will look from in [x (left/right),y(up/down),z(front/back)] format

ortho:

LIGHT puzzles use an orthographic camera, so this is the width of the camera's view. Ex. 12 will show smaller cubes when compared to 6.

Smaller values makes the cubes appear larger.

ortho_values

face:

The direction the player was facing.

Possible values:

  • "N" - North
  • "E" - East
  • "S" - South
  • "W" - West

description:

The human description of the puzzle to help the user.

connection:

This is an array of connections. For most puzzles when you hit one cube, one or more other cubes will also change. This is how you define the connections.

Example

connections

[[], [0, 2], [], [2, 4], []]

In the previous image, cube 0, 2 and 4 are not user interactable, so their connections are []. Cube 1 will trigger 0 and 2 to move, so a connection for [0,2]. And lastly cube 3 will trigger 2 and 4, so [2, 4].

edit:

This is optional. An array of true/false to state if the puzzle piece can be edited. This is only useful if the item is fixed.

Puzzle x14199 is a good example of how edit works. The central cube (index 4, position 5) will not rotate.

[true, true, true, true, false]

direction:

The way each cube faces or number of light on. For example if you have three cubes it would look like ["N","E","W"].

Possible values:

  • "N" - North
  • "E" - East
  • "S" - South
  • "W" - West
  • "1" - One Light
  • "2" - Two Lights
  • "3" - Three Lights

position:

The position for each cube in the puzzle. In the following format [[x,y,z],[x,y,z],[x,y,z]...]

island:

This value is used to link the puzzle to an island for stat tracking.

This value has already been filled in.

Clone this wiki locally