Parcourir la source

resize button that was too small

lairaalmas il y a 1 an
Parent
commit
9a2c5872cb

+ 1 - 1
src/js/games/circleOne.js

@@ -738,7 +738,7 @@ const circleOne = {
       self.ui.continue.button = game.add.geom.rect(
         context.canvas.width / 2,
         context.canvas.height / 2 + 100,
-        350,
+        450,
         100,
         btnColor
       );

+ 1 - 1
src/js/games/squareOne.js

@@ -669,7 +669,7 @@ const squareOne = {
       self.ui.continue.button = game.add.geom.rect(
         context.canvas.width / 2,
         context.canvas.height / 2 + 100,
-        350,
+        450,
         100,
         btnColor
       );

+ 1 - 1
src/js/games/squareTwo.js

@@ -404,7 +404,7 @@ const squareTwo = {
       self.ui.continue.button = game.add.geom.rect(
         context.canvas.width / 2 + 400,
         context.canvas.height / 2 + 280,
-        350,
+        450,
         100,
         btnColor
       );

+ 4 - 4
src/js/globals/globals_debug.js

@@ -3,17 +3,17 @@ const isDebugMode = true;
 const debugState = {
   lang: { skip: true, lang: 'es_PE' },
   name: { skip: true, name: 'Username' },
-  menu: { skip: true, id: 2 },
+  menu: { skip: true, id: 1 },
   customMenu: {
     skip: true,
     getData: () => {
-      return { mode: 'b', operation: 'mixed', difficulty: 3, label: true };
+      return { mode: 'b', operation: 'plus', difficulty: 3, label: true };
     },
   },
   map: { skip: true },
-  end: { skip: true, stop: false },
+  end: { skip: false, stop: false },
   moodle: {
-    emulate: true,
+    emulate: false,
     info: {
       hits: [1, 1, 1, 0],
       errors: [2, 3, 0, 4],