Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (41 sloc) 952 Bytes
You are standing in a room. You can see a [hammer].
It's nice and weighty. Perhaps you want to [[hit yourself in the face with it]](hit)?
// Create a blackout <div>...
$("<div/>", {
id: "blackout"
position: "fixed",
top: 0,
left: 0,
width: "100%",
height: "100%",
background: "black",
display: "none"
// Fade it in over 6 seconds...
duration: 6000,
easing: "easeInQuad",
// After fading it in...
setTimeout(function () {
// Move to the next section...
squiffy.story.go("wake up");
// Fade out the blackout and remove the <div>...
duration: 6000,
easing: "easeInQuad",
complete: function() {
}, 9000);
[[wake up]]:
Slowly your eyes open.
That was a rather stupid thing to do.