@@ -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">
@@ -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);