===================================================================
--- original.js
+++ change.js
@@ -132,8 +132,9 @@
powerUps.forEach(function (powerUp) {
powerUp.update();
if (superman.intersects(powerUp)) {
LK.setScore(LK.getScore() + 1);
+ scoreTxt.setText(LK.getScore());
powerUp.destroy();
}
});
};
Gold. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Superman. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Zombie. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Canavar. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows