There’s a new version of ChoiceScript on GitHub. https://github.com/dfabulich/choicescript/archive/master.zip
What’s new?
-
Page animations. As discussed in this topic, we’ve added page-turn animations. When you click the “Next” button, the next page will fade in while the previous page fades out and slides away.
-
Slide to select. On iOS and Android, you can now slide your finger over an option to select it. It’s a lot quicker than tapping the option, scrolling down, and tapping Next.
-
Settings menu. If you use the latest index.html, there’s a new “Settings” button that players can use to change the color and size of text, and enable/disable animations.
-
Improved support for iOS VoiceOver. Visually impaired players using iOS VoiceOver will have a nicer experience in this version. We now automatically focus the first paragraph when you turn the page. (Relatedly, ChoiceScript now uses real HTML paragraphs with the
<p>
tag, instead of two<br>
line breaks between paragraphs.)
This update changes a lot of code internally. If you’re using a custom modified copy of index.html, you’ll need to incorporate a change I’ve added, adding a <div class="container" id="container1">
line right inside the <body>
tag. Without it, you’ll see this error when you click the “Next” button:
<div id=container1> is missing from index.html
Also note the new menuButton
“Settings” button in index.html. The game works OK without it, but that button must appear in index.html for users to have the new Settings menu.