Apologies! Your web browser lacks required capabilities. Please consider upgrading it or switching to a more modern web browser.
Initializing. Please wait…
/%if you want to start a passage by playing audio, use this%/
<<audio "intro-ottawa" play>>
The world you see is not the only one. This device caries with it a multidimensional transponder.
/%the next bit calls the location variables, which initializes our access of the geolocation api%/
Currently you are at $Location.latitude and $Location.longitude which is on the cusp of an area of thin dimensional stability. Our research indicates the strongest concentration is somewhere near the old Horticulture building. You should start there.
Sweep and scan frequently.
First, you need to [[calibrate the scan]].
/%below I show how easy it is to embed other content within Twine. Perhaps the player needs to closely examine some kind of 3d object to figure out where to move next%/
<iframe src="https://p3d.in/e/O4Xyo" width="640" height="480" frameborder="0" seamless allowfullscreen webkitallowfullscreen></iframe>
/%this is a comment. Below is the bit the player will see when the game starts%/
[img[http://fc07.deviantart.net/fs25/f/2008/181/f/f/Trippy_Design_by_Cru_the_Dwarf.jpg]]
[[Start]]
/%this sets up our variables for our geotriggers%/
<<set $buffer = 0.0005>>
<<set $natsciencelat = 42.7314418>>
<<set $natsciencelong = -84.4769123>>
<<set $horticulturelat = 42.731973>>
<<set $horticulutrelong = -84.478518>>
<<set $benefactorsplazalat = 42.731785>>
<<set $benefactorsplazalong = -84.477802>>
/%add more points of interest by uncommenting and copying the code below
<<set $ANOTHERPOINTlat = >>
<<set $ANOTHERPOINTlong = >>
remember, decimal degrees. You can click on a google map, and the point you clicked will be in the URL. That's a handy way of grabbing points%/
/%if you were going to use audio, put the files in the same folder as your html (this precludes us from useing the philome.la twine hosting service, by the way, since you can only load the html; you could use full http links to sound files stored somewhere else, but you'll run into loading and caching problems)%/
<<cacheaudio "childsnightmare" "ChildsNightmare.mp3">>
<<cacheaudio "akeley" "Akeleys_Wax_Cylinder_Recording/Akeley_MiGo_Ritual_64kb.mp3">>
<<cacheaudio "intro-ottawa" "ottawa-intro.mp3">>
...calibrating...
/%This is the nuts-and-bolts of a geotrigger. We come back to this passage again and again to obtain the latest location. Then, in a series of nested if-else statements we go through our list of potential locations. A more elegant version of this code is in the orphaned passage 'buffer-test'. For a more elegant version see the 'calibrate the scan' passage%/
<<if $Location.latitude lte ($natsciencelat + $buffer) and $Location.latitude gte ($natsciencelong - $buffer) and $Location.longitude lte ($natsciencelong + $buffer) and $Location.longitude gte ($natsciencelong - $buffer)>>
<<display "Natural Sciences Building">>
<<elseif $Location.latitude lte ($horticulturelat + $buffer) and $Location.latitude gte ($horticulturelat - $buffer) and $Location.longitude lte ($horticulturelong + $buffer) and $Location.longitude gte ($horticulturelong - $buffer)>>
<<display "Horticulture Building">>
<<elseif $Location.latitude lte ($benefactorsplazalat + $buffer) and $Location.latitude gte ($benefactorsplazalat - $buffer) and $Location.longitude lte ($benefactorsplazalong + $buffer) and $Location.longitude gte ($benefactorsplazalong - $buffer)>>
<<display "Benefactors' Plaza">>
<<else>>
<<display "This zone is clear">>
<</if>>Currently you are at $Location.latitude and $Location.longitude
This zone is clear. Move quickly.
You're wasting time.
[[calibrate the scan]]/%this bit of code does the same thing as the 'old-code calibrate the scan' passage, but instead calls on the 'approxEqual' function that we made in this story's javascript. The 'display' command will display other passages when you put the desired passage's title within the quotation marks. Note we also make a passage for when the player is in a location we haven't coded for. That particular passage could contain hints etc%/
Currently you are at $Location.latitude and $Location.longitude
Scanner Calibration Engaged.
<<if approxEqual($Location.latitude, $natsciencelat) and approxEqual($Location.longitude, $natsciencelong)>>
<<display "Natural Sciences Building">>
<<elseif approxEqual($Location.latitude, $horticulturelat) and approxEqual($Location.longitude, $horticulturelong)>>
<<display "Horticulture Building">>
<elseif approxEqual($Location.latitude, $benefactorsplazalat) and approxEqual($Location.longitude, $benefactorsplazalong)>>
<<display "Benefactors' Plaza">>
<<else>>
<<display "This zone is clear">>
<</if>>
<<audio "childsnightmare" fadein >>
[img[https://openclipart.org/image/300px/svg_to_png/28414/PBCrichton-Malware-Hazard-Symbol-Red.png]]
Currently you are at $Location.latitude and $Location.longitude
Area of instability found. Current position: Horticulture building
[[Rescan]]<iframe src="//giphy.com/embed/mRAu3P4p28KoU?html5=true" width="480" height="480" frameBorder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
[[Rescan for Geotriggers|calibrate the scan]]
%/in the passage above, the player will see the text 'rescan for geotriggers, but the link will be to the passage called 'calibrate the scan'%/[img[https://openclipart.org/image/300px/svg_to_png/28414/PBCrichton-Malware-Hazard-Symbol-Red.png]]
<<audio "oldpiano" play >>
Currently you are at $Location.latitude and $Location.longitude
Area of instability found. Current Position: Benefactor's Plaza
[[Rescan]][img[https://openclipart.org/image/300px/svg_to_png/28414/PBCrichton-Malware-Hazard-Symbol-Red.png]]
Currently you are at $Location.latitude and $Location.longitude
Area of instability found. Current position: Natural Sciences Building.
<<audio "akeley" play>>
[[Rescan]]
Sound effects found at soundbible.com:
Gunfire_In_Crowd-KevanGC-1080318106.mp3
Please%20Open%20The%20Door-SoundBible.com-1938859889.mp3
Pickaxe-SoundBible.com-1937292892.mp3
Sad_Male-Mike_Koenig-58602415.mp3
Other sounds public domain, retrieved at Internet Archive:
https://ia700706.us.archive.org/4/items/ChildsNightmare/ChildsNightmare.mp3
https://ia801408.us.archive.org/16/items/Akeleys_Wax_Cylinder_Recording/Akeley_MiGo_Ritual_64kb.mp3
https://ia700500.us.archive.org/16/items/WORLDSOLDESTRECORDEDMUSIC/WORLDSOLDESTRECORDEDMUSIC-PIANOCORNETTHELOSTCHORD1888.mp3
https://ia700400.us.archive.org/5/items/Cabin/LittleOldCabinInTheLan.mp3
https://ia700704.us.archive.org/16/items/WartimeRadio1941/1941-08-14BbcWinstonChurchill-TheAtlanticCharter.mp3
Remaining sound effects by Shawn Graham.
Loading image: http://fc07.deviantart.net/fs25/f/2008/181/f/f/Trippy_Design_by_Cru_the_Dwarf.jpg
Anomaly found image:
https://openclipart.org/image/300px/svg_to_png/28414/PBCrichton-Malware-Hazard-Symbol-Red.png