-
Notifications
You must be signed in to change notification settings - Fork 0
Switching html theme
Maybe you want to give the user a choice to select a color-theme of your game. There are different approaches possible.
- create your different style sheets in directory .dist/styles
- in src/head-content.html create links to those styles
Then you simply have toggle the disable attribute via javascript to make the stylesheet take effect.
For this I use styleSwitcher.js
you could also create stylesection in DOM-tree directly. This gives more possibilities then toggling stylesheets.
What is twine and interactive fiction
Exampl. SuperSimpleStory
What are storyformats
Why snowman
Setup tweego and snowman
Switching between Tweego and Twine
Snowman template methods
Snowman markup
javascript usage
debugging your story
Common issues with template methods and scripting
Story Telling in general
General concepts for IF
Scenes & Sequels
Designing Puzzles
See here about my js-framework running in snowman:
==> problems & solutions <==