Revision of Twine: Passage transition: Instant (no transition) from Sun, 01/27/2013 - 22:58

Suppose you want your Twine game to have that classic feel to it. You want pages to snap into place instantly, without even a moment of fade-in. All business. 90s web style. So sudden that it's like the game can read your thoughts.

Well, here's some JavaScript code that removes the default fade-in transition between passages:

addStyle(".passage { opacity:1 !important; } "); function fade(f, c) { if(c.onComplete) { c.onComplete()}}

All this code does is remove functionality, which is why it's pretty simple. It will also work with Jonah as well as Sugarcane.