This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This quick guide will show you how add an optional web-app (iOS) view to your Twine game! | |
//First you'll need to open up your Twine (.tws) file. | |
1. Add a new passage to your story and name it "script" | |
2. Enter the tags section and add the word "script" | |
3. Now, in the main body, add the code: | |
document.addEventListener('touchmove', function(e) { | |
e.preventDefault(); | |
}, false); |