@@ -27,23 +27,31 @@ $(function () {
2727 //////////////////////////////////
2828
2929 // TODO 1 - Enable the Grid
30- // toggleGrid();
30+ //toggleGrid();
3131
3232
3333 // TODO 2 - Create Platforms
34-
35-
34+ createPlatform ( 180 , 0 , 20 , 570 , "black" ) ; //no cheating wall
35+ createPlatform ( 1200 , 650 , 200 , 20 , "blue" ) ; //first platform
36+ createPlatform ( 200 , 550 , 770 , 20 , "black" ) ; //second platform
37+ createPlatform ( 450 , 440 , 200 , 20 , "orange" ) ; //third platform
38+ createPlatform ( 300 , 320 , 100 , 20 , "orange" ) ; //collectable
39+ createPlatform ( 800 , 320 , 300 , 20 , "orange" ) ; //path
40+ createPlatform ( 1200 , 380 , 100 , 20 , "red" ) ; //collectable
41+ createPlatform ( 1200 , 200 , 200 , 20 , "lime" ) ; //winning platform
3642
3743
3844 // TODO 3 - Create Collectables
39-
40-
45+ createCollectable ( "diamond" , 330 , 250 , 2 , 1 ) ;
46+ createCollectable ( "max" , 220 , 450 , 3 , 1 ) ;
47+ createCollectable ( "database" , 1200 , 130 , 2 , 1 ) ;
48+ createCollectable ( "steve" , 1230 , 300 , 2 , 1 ) ;
4149
4250
4351 // TODO 4 - Create Cannons
44-
45-
46-
52+ createCannon ( "right" , 550 , 1500 ) ;
53+ createCannon ( "left" , 200 , 1500 ) ;
54+ createCannon ( "top" , 1200 , 1800 )
4755
4856 //////////////////////////////////
4957 // ONLY CHANGE ABOVE THIS POINT //
0 commit comments