If you've already seen the HTML, you'll notice many "data" attributes in the elements; this are used by the engine so you may change the structure and using the right datas everything will just work.
This table will resume the general datas and what are they for.
All data-actions well... do something, they are handled by the $("[data-action]").click() function in the engine.
The data-uis are part of the user interface, things that the user will see.
The data-uis are part of the user interface, however the user will not see them.
The data-menus are the screens and menus of your game.
Put an image url on it and it will apply that image as a background to that element.
Closes another element by it's data-ui name.
This is mainly used for internal functions, just to target the specific media player.
Used for Multilanguage Games, will change the text of the element with the proper translation from the strings.js file.
Used in choices, to state what a choice will do when it's clicked.
Now, that gives you some idea of what everything is for, now you need to understand what every one of them is used for.
Opens the menu/screen from the data-open next to it and closes the others.
While playing, it will go back to the previous statement, while on a menu, it will just go back to the main screen.
Will trigger the close of an element, using the data-close next to it.
Closes the Video element.
Used for the language setting.
Changes the volume of the element given in the data-target next to it.
Declares an element that when clicked will make the game jump to the label declared inside it's data-jump.
Declares the label the game will jump to when this data-action="jump" element is clicked.
Defines a modal window like the one used for the messages.
Defines a menu inside another menu/screen.
Defines the place where the save and load slots will be displayed.
Defines the place where the "Say" text and character's name is displayed.
Defines the place where the character's name is displayed.
Defines the place where the "Say" text is displayed.