From e0552a705e3ddfd79a684ee7a67ca02f57fbb2bc Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Wed, 13 May 2020 22:23:28 -0500 Subject: Complete switches --- src/paperflight/static/levels.js | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'src/paperflight/static/levels.js') diff --git a/src/paperflight/static/levels.js b/src/paperflight/static/levels.js index a7116b4..aba9712 100644 --- a/src/paperflight/static/levels.js +++ b/src/paperflight/static/levels.js @@ -1,5 +1,50 @@ var levels = { 1: { + coinsNeeded: 0, + exit: { + x: 40, + y: 460 + }, + title: "Switch madness", + items: [{ + draw: drawSwitch, + update: updateSwitch, + x: 120, + y: 400, + width: 60, + height: 60, + stateCount: 3 + }, + { + draw: drawSwitchRect, + update: updateSwitchRect, + x: 300, + y: 400, + width: 60, + height: 60, + state: 0 + }, + { + draw: drawSwitchRect, + update: updateSwitchRect, + x: 400, + y: 400, + width: 60, + height: 60, + state: 1 + }, + { + draw: drawSwitchRect, + update: updateSwitchRect, + x: 500, + y: 400, + width: 60, + height: 60, + state: 2 + }, + ] + }, + 2: { coinsNeeded: 5, exit: { x: 40, -- cgit v1.2.3