فهرست منبع

bug fix - percent text on map screen wasnt updating
cleaned some sprites
reinserted LInE info on index page

laira 3 سال پیش
والد
کامیت
a35cb6e9ed
5فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. BIN
      assets/img/character/kid/lost.png
  2. BIN
      assets/img/character/kid/run.png
  3. BIN
      assets/img/character/kid/walk.png
  4. 2 2
      index.html
  5. 1 1
      js/map.js

BIN
assets/img/character/kid/lost.png


BIN
assets/img/character/kid/run.png


BIN
assets/img/character/kid/walk.png


+ 2 - 2
index.html

@@ -9,7 +9,7 @@
   <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">
-  <title> iFractions</title>
+  <title>iFractions</title>
   <link rel="stylesheet" href="css/bootstrap.min.css">
 
   <style>
@@ -110,7 +110,7 @@
 
     <div class="panel panel-primary">
 
-      <div class="panel-heading">iFractions game</div>
+      <div class="panel-heading">iFractions game :: by LInE</div>
 
       <div class="panel-body">
 

+ 1 - 1
js/map.js

@@ -35,7 +35,7 @@ const mapState = {
     }
 
     // Progress bar
-    const percentText = 4 * 25;
+    const percentText = completedLevels * 25;
 
     if (completedLevels >= 4) game.add.geom.rect(660, 10, 4 * 37.5, 35, undefined, 0, colors.intenseGreen, 0.5);
     else game.add.geom.rect(660, 10, completedLevels * 37.5, 35, undefined, 0, colors.yellow, 0.9);