Integration with Twinery/Twine
- Copy https://raw.githubusercontent.com/storyforj/odo-twine-integration/master/main.js
- In Twine, click "Edit Story JavaScript" and paste the contents
That's the whole integration!
You may want to save user data. To save state use odo.data.saveForPlayer
and odo.data.getForPlayer
methods as described in the ODO JS SDK repo.
If you need any help, please hop into our Discord: https://discord.gg/SDSsGBP