aboutsummaryrefslogtreecommitdiff
path: root/src/paperflight/index.html
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-05-13 21:59:10 -0500
committerMark Powers <markppowers0@gmail.com>2020-05-13 21:59:10 -0500
commitcd8b5ef7da2116c20c6b4fa22fa94282fac49bda (patch)
treeb2731adc51f0a215fc7796a396df131998f8b153 /src/paperflight/index.html
parent1855e0c673b06399ca89aa0c705d30b1a9ea3b97 (diff)
Add height to vent
Diffstat (limited to 'src/paperflight/index.html')
-rw-r--r--src/paperflight/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/paperflight/index.html b/src/paperflight/index.html
index 731b92e..9432244 100644
--- a/src/paperflight/index.html
+++ b/src/paperflight/index.html
@@ -22,7 +22,7 @@
<script>
var username = undefined
- var score, plane, gameInterval, currLevelIndex, currLevel, t, collected, startLevel
+ var score, plane, gameInterval, currLevelIndex, currLevel, t, collected, startLevel, switchState
var DEFAULT_VX = 3
var DEFAULT_VY = 0.5
@@ -48,6 +48,7 @@
}
score = 0
t = 0
+ switchState = 0
plane = {
x: 30,
y: height / 4,