User prompt
Please fix the bug: 'TypeError: LK.getHighScore is not a function. (In 'LK.getHighScore()', 'LK.getHighScore' is undefined)' in or related to this line: 'var highScore = Math.max(score, LK.getHighScore());' Line Number: 146
User prompt
Show high score when you die.
User prompt
You should die, Skor, when you die.
User prompt
Make a background of people looking.
User prompt
Make the plane bigger!
User prompt
And the bullets are a little slow.
User prompt
The blocks can go very much faster.
User prompt
The blocks may go a little fast.
User prompt
The blocks can move from left to right, and from right to left.
Initial prompt
Penri shooter
===================================================================
--- original.js
+++ change.js
@@ -133,8 +133,9 @@
heartsTxt.setText('Hearts: ' + hearts);
if (hearts <= 0) {
LK.effects.flashScreen(0xff0000, 1000);
LK.showGameOver();
+ console.log("Skor has died."); // Log Skor's death
}
}
});
};
\ No newline at end of file