User prompt
Fix Bug: 'TypeError: this.parent.getHighestScore is not a function' in this line: 'if (LK.getScore() < 1 && this.parent.getHighestScore() > 1) {' Line Number: 294
User prompt
when checklines loop is running and score is below 1 and highscore is above 1 then game over
User prompt
when checklines loop is running if score is below 1 then game over
User prompt
if score text goes below 1 then game over
Code edit (6 edits merged)
Please save this source code
User prompt
move highscore to left of screen
User prompt
add a highest score reached counter at top that records the highest number score has reached
Code edit (1 edits merged)
Please save this source code
User prompt
set initial button tint to green
Code edit (6 edits merged)
Please save this source code
User prompt
When button pressed and loop running tint button green. when loop not running tint button red
Code edit (1 edits merged)
Please save this source code
User prompt
add x and y options to allow alignment of button
Code edit (1 edits merged)
Please save this source code
User prompt
change button logic so it runs when pressed and then stops when pressed again
Code edit (7 edits merged)
Please save this source code
User prompt
Add button to bottom strip that will trigger a tick loop that runs checklines twice a second while button pressed. stop loop running when button released
User prompt
in changesfound variable set to run checklines again. remove score update from changes found code
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'TypeError: board.removeTint is not a function' in this line: 'board.removeTint();' Line Number: 374
User prompt
Fix Bug: 'TypeError: board.removeTint is not a function' in this line: 'board.removeTint();' Line Number: 348
User prompt
remove removeTint function
Code edit (7 edits merged)
Please save this source code
User prompt
remove show overlap
User prompt
Fix Bug: 'Uncaught ReferenceError: hsvToRgb is not defined' in this line: 'self.color = hsvToRgb(hue, 0.6, 1);' Line Number: 108
===================================================================
--- original.js
+++ change.js
@@ -320,8 +320,11 @@
var self = Container.call(this);
Game.prototype.updateScoreText = function (score) {
this.scoreTxt.setText(score.toString());
this.updateHighestScore(score);
+ if (score < 1) {
+ LK.showGameOver();
+ }
};
var gameBackground = self.createAsset('gameBackground', 'Background Graphics', .5, .5);
gameBackground.x = 2048 / 2;
gameBackground.y = 2732 / 2 + 65;
@@ -404,9 +407,9 @@
this.highestScoreTxt.setText('High Score: ' + highestScore.toString());
}
};
self.highestScoreTxt = new Text2('High Score: 0', {
- size: 50,
+ size: 60,
fill: "#ffffff",
font: 'Impact',
stroke: '#2a636e',
strokeThickness: 8
remove painted bits
a yellow furry cuddly ball of fur. little feet. No ears. cute happy face. Cartoon style. Cute art style. Simple vector style. Pastel colors, flat shaded, vector art. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
remove painted bits
a purple furry cuddly ball of fur. little feet. No ears. cute happy face. Cartoon style. Cute art style. Simple vector style. Pastel colors, flat shaded, vector art. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
a colbalt blue furry cuddly ball of fur. little feet. No ears. cute happy face. Cartoon style. Cute art style. Simple vector style. Pastel colors, flat shaded, vector art. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Light gray square with round corners, With play symbol in middle. flat shaded, hyper casual game. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
high definition, with lots of soft colorful fluffy fur balls. happy cartoon faces. exploding from middle of screen. No words
Light gray square, With a re-start symbol in middle.black boderline around outerend of button. flat shaded, hyper-casual game. 2D. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.