Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught ReferenceError: ScoreMessage is not defined' in this line: 'ScoreMessage.y += 200;' Line Number: 373
Code edit (1 edits merged)
Please save this source code
User prompt
reset scoremessage after every game start
User prompt
make sure the previous scoremessage is deleted before the new one is rendered
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'getItem')' in this line: 'var lastScoreMessage = localStorage.getItem('lastScoreMessage') || '0 / 6';' Line Number: 367
User prompt
every time the game is restaarted make sur the last scoremessage is shown
Code edit (9 edits merged)
Please save this source code
User prompt
add a score message on the top of the screen. the score will be the sum of the 6 different gamesolves. only when they are true.
User prompt
add a score message on the top of the screen. the score will be the sum of the 6 different gamesolves. only when they are true. this should not interefere with the current bottom message in the game
User prompt
Fix Bug: 'TypeError: this.updateMessageText is not a function' in this line: 'this.updateMessageText('(Double click...how original! Try a different way!)');' Line Number: 477
User prompt
Fix Bug: 'ReferenceError: messageText is not defined' in this line: 'messageText.setText('(Double click...how original! Try a different way!)');' Line Number: 468
User prompt
add a score message on the top of the screen. the score will be the sum of the 6 different gamesolves. only when they are true.
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught ReferenceError: messageText is not defined' in this line: 'messageText.anchor.set(.5, .5);' Line Number: 348
Code edit (1 edits merged)
Please save this source code
User prompt
add a new text display to show gamerestcount in the top center of the screen
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'anchor')' in this line: 'messageText.anchor.set(.5, .5);' Line Number: 352
Code edit (1 edits merged)
Please save this source code
User prompt
add counter to track between games, every unique destroy waty of the box. it should just be a counter and add 1 when a new destroy method happened.
Code edit (1 edits merged)
Please save this source code
User prompt
create a global variable that adds 1 to the count every time the game is rest.
User prompt
Fix Bug: 'ReferenceError: globalScoreDisplay is not defined' in this line: 'globalScoreDisplay.updateScore(globalScore);' Line Number: 190
User prompt
Fix Bug: 'ReferenceError: globalScoreDisplay is not defined' in this line: 'globalScoreDisplay.updateScore(globalScore);' Line Number: 190
User prompt
Fix Bug: 'ReferenceError: globalScoreDisplay is not defined' in this line: 'globalScoreDisplay.updateScore(globalScore);' Line Number: 190
===================================================================
--- original.js
+++ change.js
@@ -348,10 +348,8 @@
var messageText = new Text2('(Open the box to find out...)', {
size: 60,
fill: '#ffffff'
});
-messageText.anchor.set(.5, .5);
-messageText.y += 1500;
LK.gui.topCenter.addChild(messageText);
gameResetCountText.anchor.set(0.5, 0.5);
LK.gui.topCenter.addChild(gameResetCountText);
var Game = Container.expand(function () {
8-bit. cartoon. red button. do not touch! Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. black tub stopper with chain. in game asset.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. axe. in game asset. no shadow.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Break in case of emergency square. Ax drawing inside. simple. 8-bit. cartoon. blackand white.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Delete