Skip to content

Commit

Permalink
Added timer to each level
Browse files Browse the repository at this point in the history
  • Loading branch information
cham committed Jun 24, 2012
1 parent 337e0cb commit 99ed750
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 20 deletions.
5 changes: 3 additions & 2 deletions levels/1.json
Expand Up @@ -5,6 +5,7 @@
"safeEdges": [true,true,true,true],
"walls": [
],
"introText": "Level 1<br/><span class=\"levelname\">'Simple'</span><br/><small>Save 100 particles to proceed<span class=\"tip\">Touch the screen to place wells!</span></small>",
"amountToSave": 100
"introText": "Level 1<br/><span class=\"levelname\">'Simple'</span><br/><small>Save 100 particles to proceed<span class=\"tip\">Touch the screen to place wells!</span><span class=\"tip-two\">You have 20 seconds</span></small>",
"amountToSave": 100,
"timer": 20000
}
6 changes: 3 additions & 3 deletions levels/2.json
@@ -1,12 +1,12 @@
{

"emitterCoords": [80,140],
"goalCoords": [360,140],
"globalGravity": [0,0],
"safeEdges": [true,true,true,true],
"walls": [
[300,80,301,200]
],
"introText": "Level 2<br/><span class=\"levelname\">'Line of Sight'</span><br/><small>Save 50 particles to proceed<span class=\"tip\">Avoid the wall of death!</span></small>",
"amountToSave": 50
"introText": "Level 2<br/><span class=\"levelname\">'Line of Sight'</span><br/><small>Save 50 particles to proceed<span class=\"tip\">Avoid the wall of death!</span><span class=\"tip-two\">You have 20 seconds</span></small>",
"amountToSave": 50,
"timer": 20000
}
7 changes: 4 additions & 3 deletions levels/3.json
Expand Up @@ -2,10 +2,11 @@

"emitterCoords": [240,140],
"goalCoords": [240,60],
"globalGravity": [0,0.20],
"globalGravity": [0,0.15],
"safeEdges": [true,true,true,true],
"walls": [
],
"introText": "Level 3<br/><span class=\"levelname\">'Newton'</span><br/><small>Save 100 particles to proceed<span class=\"tip\">This level has gravity!</span></small>",
"amountToSave": 100
"introText": "Level 3<br/><span class=\"levelname\">'Newton'</span><br/><small>Save 100 particles to proceed<span class=\"tip\">This level has gravity!</span><span class=\"tip-two\">You have 10 seconds</span></small>",
"amountToSave": 100,
"timer": 10000
}
5 changes: 3 additions & 2 deletions levels/4.json
Expand Up @@ -8,7 +8,8 @@
[480,140, 80,140],
[0, 210,400,210]
],
"introText": "Level 4<br/><span class=\"levelname\">'Zig Zag'</span><br/><small>Save 50 particles to proceed</small>",
"introText": "Level 4<br/><span class=\"levelname\">'Zig Zag'</span><br/><small>Save 50 particles to proceed<span class=\"tip-two\">You have 60 seconds</span></small>",
"amountToSave": 50,
"numberOfWells": 1
"numberOfWells": 1,
"timer": 60000
}
5 changes: 3 additions & 2 deletions levels/5.json
Expand Up @@ -11,7 +11,8 @@
[190,146,292,146],
[240,200,250,190]
],
"introText": "Level 5<br/><span class=\"levelname\">'Triforce'</span><br/><small>Save 75 particles to proceed</small>",
"introText": "Level 5<br/><span class=\"levelname\">'Triforce'</span><br/><small>Save 75 particles to proceed<span class=\"tip-two\">You have 30 seconds</span></small>",
"amountToSave": 75,
"numberOfWells": 1
"numberOfWells": 1,
"timer": 30000
}
5 changes: 3 additions & 2 deletions levels/6.json
Expand Up @@ -13,7 +13,8 @@
[200,110,220, 92],
[260, 75,301, 50]
],
"introText": "Level 6<br/><span class=\"levelname\">'Windy City'</span><br/><small>Save 50 particles to proceed<span class=\"tip\">Gravity attracts particles to the left<br/>Game boundaries kill</span></small>",
"introText": "Level 6<br/><span class=\"levelname\">'Windy City'</span><br/><small>Save 50 particles to proceed<span class=\"tip\">Gravity attracts particles to the left<br/>Game boundaries kill</span><span class=\"tip-two\">You have 60 seconds</span></small>",
"amountToSave": 50,
"numberOfWells": 1
"numberOfWells": 1,
"timer": 60000
}
5 changes: 3 additions & 2 deletions levels/7.json
Expand Up @@ -5,9 +5,10 @@
"safeEdges": [false,false,false,false],
"walls": [
],
"introText": "Level 7<br/><span class=\"levelname\">'elpmiS'</span><br/><small>Save 10 particles to proceed<span class=\"tip\">Gravity is reversed!</span><span class=\"tip-two\">You may only place 2 wells, total</span></small>",
"introText": "Level 7<br/><span class=\"levelname\">'elpmiS'</span><br/><small>Save 10 particles to proceed<span class=\"tip\">Gravity is reversed!</span><span class=\"tip-two\">You may only place 2 wells, total<br/>You have 10 seconds</span></small>",
"amountToSave": 10,
"repulsors": true,
"numberOfWells": 2,
"totalWells": 2
"totalWells": 2,
"timer": 10000
}
4 changes: 2 additions & 2 deletions levels/8.json
Expand Up @@ -5,9 +5,9 @@
"safeEdges": [false,false,false,false],
"walls":[
[300, 0,200,100],
[300,280,200,180]
[300,290,200,190]
],
"introText": "Level 8<br/><span class=\"levelname\">'Bezier'</span><br/><small>Save 50 particles to proceed<span class=\"tip\">Gravity pulls particles upwards</span><span class=\"tip-two\">You may only place 2 wells, total<br/>You have 10 seconds</span></small>",
"introText": "Level 8<br/><span class=\"levelname\">'Bezier'</span><br/><small>Save 50 particles to proceed<span class=\"tip\">Gravity pulls particles upwards</span><span class=\"tip-two\">You may only place 2 wells, total<br/>You have 20 seconds</span></small>",
"amountToSave": 50,
"numberOfWells": 2,
"totalWells": 2,
Expand Down
4 changes: 2 additions & 2 deletions levels/9.json
Expand Up @@ -5,11 +5,11 @@
"safeEdges": [false,false,false,false],
"walls":[
[480,140,400,170],
[360,280,350,250],
[360,285,350,250],
[400,170,270, 0],
[350,250, 0,100]
],
"introText": "Level 9<br/><span class=\"levelname\">'Brakes'</span><br/><small>Save 50 particles to proceed<span class=\"tip\"></span></small>",
"introText": "Level 9<br/><span class=\"levelname\">'Brakes'</span><br/><small>Save 50 particles to proceed<span class=\"tip-two\">You have 15 seconds</span></small>",
"amountToSave": 50,
"numberOfWells": 2,
"totalWells": 2,
Expand Down

0 comments on commit 99ed750

Please sign in to comment.