Переглянути джерело

update new game info and fix page icon problem

lairaalmas 1 рік тому
батько
коміт
530cf0ff3a

+ 1 - 1
index.html

@@ -9,7 +9,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <meta name="description" content="Educational game for teaching fractions" />
   <meta name="keywords" content="ifractions, fraction, game, private data" />
-  <link rel="shortcut icon" href="assets/img/scene/flag.png">
+  <link rel="shortcut icon" href="./src/assets/img/scene/flag.png">
   <link rel="stylesheet" href="./src/style/bootstrap/bootstrap.min.css">
   <link rel="stylesheet" href="./src/style/IFractions.css">
   <title>iFractions</title>

BIN
src/assets/img/levels/scaleOne.png


BIN
src/assets/img/levels/scaleOne_1.png


+ 5 - 3
src/js/globals/globals_tokens.js

@@ -63,14 +63,14 @@ const metadata = {
       gameName: 'scaleOne',
       gameMode: ['A'],
       gameOperation: ['Plus'],
-      gameDifficulty: 5,
+      gameDifficulty: 1,
 
       // info
       gameShape: 'noShape',
 
       // menu icon data
-      gameNameIconName: 'game0',
-      gameModeIconName: ['mode0'],
+      gameNameIconName: 'game3',
+      gameModeIconName: ['mode6'],
       gameOperationIconName: ['operation_plus'],
     },
   },
@@ -348,6 +348,7 @@ const url = {
       ['game0', baseUrl + 'levels/squareOne.png'], // Square I
       ['game1', baseUrl + 'levels/circleOne.png'], // Circle I
       ['game2', baseUrl + 'levels/squareTwo.png'], // Square II
+      ['game3', baseUrl + 'levels/scaleOne.png'], // Scale I
       // Menu icons - Info box
       ['c1-A', baseUrl + 'info_box/c1-A.png'],
       ['c1-A-h', baseUrl + 'info_box/c1-A-h.png'],
@@ -389,6 +390,7 @@ const url = {
       ['mode3', baseUrl + 'levels/circleOne_2.png', 2], // Circle I : B
       ['mode4', baseUrl + 'levels/squareTwo_1.png', 2], // Square II : A
       ['mode5', baseUrl + 'levels/squareTwo_2.png', 2], // Square II : B
+      ['mode6', baseUrl + 'levels/scaleOne_1.png', 2], // Scale I : A
       // Menu icons - Math operations
       ['operation_plus', baseUrl + 'levels/operation_plus.png', 2], // Square/circle I : right
       ['operation_minus', baseUrl + 'levels/operation_minus.png', 2], // Square/circle I : left