This plugin displays two buttons to navigate to previous and next scenes of your story.
json configuration
{
"story": { ... },
"plugins":
{
"engines":
[
{
"uid": "org.forgejs.previousnextbuttons",
"url": "PreviousNextButtons/"
}
],
"instances":
[
{
"uid": "previousnextbuttons",
"engine": "org.forgejs.previousnextbuttons",
"options":
{
"offset": 10,
"width": 50,
"height": 50
}
}
]
}
}
options
offset
- The offset of the button in pixels from both left and right border of your container (default is10
).width
- The width of your buttons (default is50
).height
- The height of your buttons (default is50
).previous
- The image resource url for your previous button relative to the plugin folder (default isassets/previous-button.png
).next
- The image resource url for your next button relative to the plugin folder (default isassets/next-button.png
).
actions
The exposed actions are :
show
- Show the buttons.hide
- Hide the buttons.