Non-conventional interactions: reverse scrolling javascript

Twine Version: 2.3.13
Story Format: Harlowe 3.2.1

Hi there,

For my interactive fiction, I’m integrating non-conventional interactions. The story is about a guy being dumped by his girlfriend, and now he feels like his world is upside down. Thus, I want to implement reversed movements, such as scrolling up instead of down. Or perhaps the mouse movement y-axis is reversed.

What I have made for now can be found here: Condition 1: Narrative-congruent Conventional (it is in Dutch, but you should press the spacebar to go through the story).

Unfortunately, I cannot find any javascript code to succesfully implement my wishes. Can someone help me out please? I’m looking for a scrollbar code which I can easily manipulate, and perhaps some suggestions for non-conventional interactions.

Thank you in advance, cheers!

1 Like