-
Notifications
You must be signed in to change notification settings - Fork 1
Scene
jeesay edited this page Apr 18, 2018
·
3 revisions
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]
}This is a sub-scene within a scene.