User prompt
set to 120 seconds
User prompt
show seconds instead of ticks
User prompt
move to top, change text to .VnAvantH
User prompt
make time bigger
User prompt
change to number only
User prompt
set the countdown to 60 seconds
User prompt
change to a countdown instead
User prompt
create a timer
User prompt
move all text to the bottom
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'y')' in or related to this line: 'countdownTxt.y = highScoreTxt.y + highScoreTxt.height + 50;' Line Number: 49
User prompt
move all text down and create a countdown
User prompt
make a timer
User prompt
change to Highscore and make smallẻ
User prompt
place it under the score
User prompt
make it at the start of the game cost 5 clicks and it cost 5 times more than the previous
User prompt
when clicked on the upgrade button, change score per click by 1
User prompt
place the upgrade button at the bottom left
User prompt
bring the background to the back
User prompt
make the score blow when the number changes
User prompt
make a world's highscore. make it smaller and place it at the mid bottom
User prompt
change it to Highscore\
User prompt
make it smaller and place on bottom left
User prompt
add upgrades
User prompt
change it to Highscore
User prompt
change the text to Hi-Score
===================================================================
--- original.js
+++ change.js
@@ -51,14 +51,14 @@
// Create the timer text and position it above the high score text
var timerTxt = new Text2('Time: 0', {
size: 200,
fill: "#ffffff",
- font: "'.VnAvant', serif",
+ font: "'.VnAvantH', serif",
fontWeight: 'bold'
});
-timerTxt.anchor.set(0.5, 1);
-LK.gui.bottom.addChild(timerTxt);
-timerTxt.y = highScoreTxt.y - highScoreTxt.height;
+timerTxt.anchor.set(0.5, 0);
+LK.gui.top.addChild(timerTxt);
+timerTxt.y = 0;
// Create the button and position it at the center of the screen
var background = game.addChild(LK.getAsset('background', {
anchorX: 0,
anchorY: 0