From 4d3aba7167fbfd5e002714e3c4a577cc17f18af0 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 14 May 2020 10:51:54 -0500 Subject: Refactor updates, fix gameover, add level changing --- src/paperflight/static/levels.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/paperflight/static/levels.js') 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) ] -- cgit v1.2.3