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
@@ -7,9 +7,9 @@
var blockGraphics = self.attachAsset('block', {
anchorX: 0.5,
anchorY: 0.5
});
- self.speed = 5;
+ self.speed = 3;
self.horizontalSpeed = Math.random() < 0.5 ? -2 : 2; // Random initial horizontal direction
self.update = function () {
self.y += self.speed;
self.x += self.horizontalSpeed;