A hyperlinked slide deck system built with no constraints on look or animation – or, as the work to make its one-off commercial forebear was sold to me: ‘choose your own adventure’. And who doesn’t like that?
Choose Your Own Adventuresque is touchscreen app demo. Replace the placeholder ‘adventure’ in content.js
. Adapt the look or functionality as you like, or better still commission me for lots more whizz-bangery.
As released here, each story node is written as below. But it’s all configurable, a matter of building rendering templates using PixiJS that consume the data provided (see app.js).
storyA1: {
template: 'choice',
text: 'This is placeholder content to demonstrate the codebase.',
choices: [
{ text: 'Choose this', to: 'storyA2A', image: 'assets/cyoa001.jpg' },
{ text: 'Or this', to: 'storyA2B', image: 'assets/cyoa003.jpg' },
{ text: 'Perhaps this', to: 'storyA2C', image: 'assets/cyoa006.jpg' },
{ text: 'Or realise the futility...', to: 'storyA2D', image: 'assets/cyoa022.jpg' },
],
},
- Download on GitHub
https://github.com/tobyspark/CYOAesque