When a link loads a new page, I want it to happen without a transition effect. I can't seem to disable the default fade between pages. I've tried a number of older solutions that don't seem to work anymore, such as:
.transition-out { display:none; }
I've poked at this stuff with browser element inspection but I haven't been able to pinpoint it, partly because I'm not sure how to use element inspection with ephemeral effects. I've also had trouble finding the responsible code in Twine's .css and .js files.
Wouldn't mind turning transitions off in the editor as well.
PS: I am specifically talking about transitions between pages, not "text transitions" like shudder.
Comments
I believe the function you want to look at in the source is showPassage, line 130 deals with 'Transitioning Out' the existing passage and line 192 deals with with render the new.
The out appears to uses a "instant" transition where as the render appears to use a "dissolve" transition.
I don't know much about javascript. What's the best way to remove the transition effects? I assume I can't just put something in my project's stylesheet.
Add the following CSS to your Story Stylesheet