aboutsummaryrefslogtreecommitdiff
path: root/src/paperflight/static/levels.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-05-14 10:51:54 -0500
committerMark Powers <markppowers0@gmail.com>2020-05-14 10:51:54 -0500
commit4d3aba7167fbfd5e002714e3c4a577cc17f18af0 (patch)
treedb97fe441f8075e86551c55d20606ff4d958f4a9 /src/paperflight/static/levels.js
parentc5d5990eecd254f3d5daf33a6c9cd394dcba2058 (diff)
Refactor updates, fix gameover, add level changing
Diffstat (limited to 'src/paperflight/static/levels.js')
-rw-r--r--src/paperflight/static/levels.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/paperflight/static/levels.js b/src/paperflight/static/levels.js
index 7555afb..8ba4a0d 100644
--- a/src/paperflight/static/levels.js
+++ b/src/paperflight/static/levels.js
@@ -6,7 +6,8 @@ var levels = {
coinsNeeded: 0,
exit: {
x: 40,
- y: 460
+ y: 460,
+ radius: 20
},
title: "Switch madness",
items: [
@@ -20,19 +21,20 @@ var levels = {
coinsNeeded: 5,
exit: {
x: 40,
- y: 460
+ y: 460,
+ radius: 20
},
title: "Downwards Dash",
items: [
- constructVent(420, 580, 60, 300),
+ constructVent(420, 580, 60, 600),
constructCoin(40, 80),
constructVent(120, 100, 280, 100),
constructBlock(580, 200, 10, 250),
constructCoin(700, 240),
constructCoin(700, 320),
constructCoin(700, 400),
- constructRamp(70, 410, 200, 10, 2/5),
- constructRamp(70, 470, 200, 10, 2/5),
+ constructRamp(70, 400, 200, 10, 2/5),
+ constructRamp(70, 480, 200, 10, 2/5),
constructCoin(170, 405),
constructBlock(0, 0, 800, 40)
]