-
Notifications
You must be signed in to change notification settings - Fork 0
creating a modal save dialog
Now we are going to create a GUI to make use of the implemented functions of part 1 & 2.
See passage SaveDialog in HUD.twee.
The important thing here is that the GUI should not display like a normal passage but as modal dialog. When the GUI is opened, any other interaction with the sidepanel should be blocked.
Therefore a 'backdrop' is dynamical added above the normal panels and below the save-GUI.
The SaveDialog is by default set to hidden and will only be shown if you press Save/Load in sidepanel. Maybe it would be possible to add it dynamical to html but I found this an easy way. However, this requires the dialog to be rendered in all passages by calling <%=window.story.render("SaveDialog") %>
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 <==