Browse code

Set level button position.

Pierre Marijon authored on 05/05/2015 11:28:40
Showing 1 changed files
... ...
@@ -61,19 +61,19 @@ public class LevelSelector extends Container {
61 61
         bulleAnimations = assets.getAnimations("animation/bulle/bulle.json");
62 62
         setBackground(new TexturedBackground(assets.getAnimations("tour.png").getFirst().start(PlayMode.LOOP)));
63 63
         setFocusedChild(addButton("level.01.name", "levels/t1/lvl01.tmx", 1045, 855, 1));
64
-        addButton("level.02.name", "levels/t1/lvl02.tmx", 825, 910, -1);
65
-        addButton("level.03.name", "levels/t1/lvl03.tmx", 1087, 881, 1);
66
-        addButton("level.04.name", "levels/t1/lvl04.tmx", 825, 853, -1);
67
-        addButton("level.05.name", "levels/t1/lvl05.tmx", 1087, 825, 1);
68
-        addButton("level.06.name", "levels/t1/lvl06.tmx", 825, 796, -1);
69
-        addButton("level.07.name", "levels/t1/lvl07.tmx", 1087, 768, 1);
70
-        addButton("level.08.name", "levels/t2/lvl01.tmx", 825, 740, -1);
71
-        addButton("level.09.name", "levels/t2/lvl02.tmx", 1087, 711, 1);
72
-        addButton("level.10.name", "levels/t2/lvl03.tmx", 825, 682, -1);
73
-        addButton("level.11.name", "levels/t2/lvl04.tmx", 1087, 654, 1);
74
-        addButton("level.12.name", "levels/t2/lvl05.tmx", 825, 626, -1);
75
-        addButton("level.13.name", "levels/t2/lvlAA.tmx", 1087, 597, 1);
76
-        addButton("level.14.name", "levels/t2/lvlAB.tmx", 825, 568, -1);
64
+        addButton("level.02.name", "levels/t1/lvl02.tmx", 870, 832, -1);
65
+        addButton("level.03.name", "levels/t1/lvl03.tmx", 1045, 809, 1);
66
+        addButton("level.04.name", "levels/t1/lvl04.tmx", 870, 786, -1);
67
+        addButton("level.05.name", "levels/t1/lvl05.tmx", 1045, 763, 1);
68
+        addButton("level.06.name", "levels/t1/lvl06.tmx", 870, 740, -1);
69
+        addButton("level.07.name", "levels/t1/lvl07.tmx", 1045, 717, 1);
70
+        addButton("level.08.name", "levels/t2/lvl01.tmx", 870, 694, -1);
71
+        addButton("level.09.name", "levels/t2/lvl02.tmx", 1045, 671, 1);
72
+        addButton("level.10.name", "levels/t2/lvl03.tmx", 870, 648, -1);
73
+        addButton("level.11.name", "levels/t2/lvl04.tmx", 1045, 625, 1);
74
+        addButton("level.12.name", "levels/t2/lvl05.tmx", 870, 602, -1);
75
+        addButton("level.13.name", "levels/t2/lvlAA.tmx", 1045, 579, 1);
76
+        addButton("level.14.name", "levels/t2/lvlAB.tmx", 870, 556, -1);
77 77
         /*addButton("level.15.name", "levels/lvl15.tmx", 1087, 540, 1);
78 78
          addButton("level.16.name", "levels/lvl16.tmx", 825, 512, -1);
79 79
          addButton("level.17.name", "levels/lvl17.tmx", 1087, 483, 1);