Hello all,
I'm having trouble getting some Javascript (at least I believe it is Javascript) to work in my Twine game.
The code is taken from this website:
http://www.schillmania.com/projects/snowstorm/, and the specific code snippet I am using is attached.
I have managed to get the snow effect working on another webpage, one where I have access to the entire HTML file, by adding the script inside <script> tags in the <head>.
However, I cannot seem to get it working within a Twine game.
Methods used:
- Adding the script within <script> and <head> tags directly into the story passage.
- Creating a script passage in Twine and adding the code in there. I wasn't sure if it required Jquery, so I have tested both with and without the 'Requires Jquery' comment, to no avail.
Has anybody got any ideas?
Thank you so much,
BD