Commits

Anonymous committed d241b66

adjust level marker ids

  • Participants
  • Parent commits 00a407d

Comments (0)

Files changed (2)

 
     var stack = [];
         
-    stack.push('{"structure":[{"warpHoleId":8,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1}],"objective":["red"]}');
+    stack.push('{"structure":[{"warpHoleId":16,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1}],"objective":["red"]}');
 
-    stack.push('{"structure":[{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"warpHoleId":8,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575}],"objective":["green","red"]}');
+    stack.push('{"structure":[{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"warpHoleId":16,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575}],"objective":["green","red"]}');
 
-    stack.push('{"structure":[{"warpHoleId":2,"isWarpHole":true,"isOpen":false,"x":-10.384614944458008,"y":0.23076923191547394},{"warpHoleId":8,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328}],"objective":["red","green"]}');
+    stack.push('{"structure":[{"warpHoleId":32,"isWarpHole":true,"isOpen":false,"x":-10.384614944458008,"y":0.23076923191547394},{"warpHoleId":16,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328}],"objective":["red","green"]}');
 
-    stack.push('{"structure":[{"warpHoleId":2,"isWarpHole":true,"isOpen":false,"x":-10.384614944458008,"y":0.23076923191547394},{"warpHoleId":8,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328},{"isGround":true,"x":6.846153736114502,"y":2.192307472229004,"x1":-8.384615384615385,"y1":-0.9615384615384617,"x2":8.384615384615385,"y2":0.9615384615384617},{"isBall":true,"ballType":"green","x":14.769230842590332,"y":4.153846263885498}],"objective":["red","green","green"]}');
+    stack.push('{"structure":[{"warpHoleId":32,"isWarpHole":true,"isOpen":false,"x":-10.384614944458008,"y":0.23076923191547394},{"warpHoleId":16,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328},{"isGround":true,"x":6.846153736114502,"y":2.192307472229004,"x1":-8.384615384615385,"y1":-0.9615384615384617,"x2":8.384615384615385,"y2":0.9615384615384617},{"isBall":true,"ballType":"green","x":14.769230842590332,"y":4.153846263885498}],"objective":["red","green","green"]}');
 
-    stack.push('{"structure":[{"isBall":true,"ballType":"red","x":4.923076629638672,"y":6.307692527770996},{"isBall":true,"ballType":"green","x":14.230769157409668,"y":6.307692527770996},{"isGround":true,"x":6.461538314819336,"y":4.192307472229004,"x1":-8.384615384615385,"y1":-0.9615384615384617,"x2":8.384615384615385,"y2":0.9615384615384617},{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"warpHoleId":8,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"warpHoleId":2,"isWarpHole":true,"isOpen":false,"x":-10.384614944458008,"y":0.23076923191547394}],"objective":["red","green","green","red"]}');
+    stack.push('{"structure":[{"isBall":true,"ballType":"red","x":4.923076629638672,"y":6.307692527770996},{"isBall":true,"ballType":"green","x":14.230769157409668,"y":6.307692527770996},{"isGround":true,"x":6.461538314819336,"y":4.192307472229004,"x1":-8.384615384615385,"y1":-0.9615384615384617,"x2":8.384615384615385,"y2":0.9615384615384617},{"isBall":true,"ballType":"green","x":-4,"y":4.076923370361328},{"isGround":true,"x":-0.3461538553237915,"y":-0.6153846383094788,"x1":16.423076923076923,"y1":-1,"x2":-16.423076923076923,"y2":1},{"isBall":true,"ballType":"red","x":-16.461538314819336,"y":4.07692289352417},{"warpHoleId":16,"isWarpHole":true,"isOpen":false,"x":14.84615421295166,"y":-1.2307692766189575},{"warpHoleId":32,"isWarpHole":true,"isOpen":false,"x":-10.384614944458008,"y":0.23076923191547394}],"objective":["red","green","green","red"]}');
 
     return {
         get: function(index) { return stack[index]; }
 
     var warpHoleSpriteIds =
     {
-        8: "starhole",
-        2: "pentagonhole",
+        16: "starhole",
+        32: "pentagonhole",
     }
     var createWarpHole = function(id,x,y) {
         var warpHole = bodies.createDoor(world, x,y, {