Skip to content
jeesay edited this page Apr 18, 2018 · 3 revisions

The object scene

The scene is composed of various objects (sprite), decorative elements and/or clickable areas triggering actions. These objects are stored in the property children corresponding to an array of objects id.

For example, the following scene contains two clickable areas of id 12 and 24.

{
  "id": 1,
  "class":"scene",
  "description": "A locked room",
  "display": {
    "graphics": {
      "path": "assets/background.jpg"
    }
  },
  "children": [12,24]
}

The object scene.closeup

This is a sub-scene within a scene.

Clone this wiki locally