User prompt
Migrate to the latest version of LK
User prompt
bro you broked everything
User prompt
Please fix the bug: 'ReferenceError: background is not defined' in or related to this line: 'background.rotation += clickIntensity * 0.02;' Line Number: 297
User prompt
fix second background it doesn't work. ALso make both background not stretching, but still fill all the game field
User prompt
can you make it not stretch. Also thereare 2 of them, but you fied only one
User prompt
can you fix backgrounds doesn't work for some reason
User prompt
Migrate to the latest version of LK
User prompt
set countdown to 120s and change "Game Over" text to "Your Score: " + score
User prompt
Fix Bug: 'Timeout.tick error: LK.sendHighscore is not a function' in this line: 'LK.sendHighscore(score);' Line Number: 219
User prompt
set countdown to 20s
User prompt
send highscore on game end
User prompt
make Size: 200 and strokeThickness: 25 for startText
User prompt
change startText. to TimeLeft immidiatly after first click
User prompt
add outline for startText
User prompt
make countdown 120s instead of 60
User prompt
move start text 100 pixels higher
User prompt
Add a field above the Candy with the text "Tap Candy to Start!". When player clik on candy at the first time this text becomes 60 seconds countdown. On countdown ends - game ends and player submit current score as highscore.
User prompt
move both buttons 50 pixels down
User prompt
on successful rebirth set score to 0 and reset click intensity to 0
User prompt
Change cost text from "🍬Cost: " to "Cost: 🍬"
User prompt
add 🍬 to a costText
User prompt
make buttonText.x and costText.x = -350
User prompt
update UpgradeButton text and cost on successfull rebirth
User prompt
set upgradeLevel and clickPower to 1 on successfull rebirth
User prompt
make rebirthLevel 0 on init and default text on rebirth button as Rebirth: x1
===================================================================
--- original.js
+++ change.js
@@ -26,9 +26,9 @@
y: 0.5
}
});
self.addChild(self.buttonText);
- self.buttonText.x = -400;
+ self.buttonText.x = -350;
self.buttonText.y = -100;
var costText = new Text2('', {
size: 100,
fill: '#ffffff',
@@ -41,9 +41,9 @@
y: 0.5
}
});
self.addChild(costText);
- costText.x = -400;
+ costText.x = -350;
costText.y = 0;
self.setCost = function (cost, affordable) {
costText.setText('Cost: ' + formatNumber(cost));
costText.fill = affordable ? '#00ff00' : '#ff0000';
@@ -127,9 +127,9 @@
y: 0.5
}
});
self.addChild(self.buttonText);
- self.buttonText.x = -400;
+ self.buttonText.x = -350;
self.buttonText.y = -100;
var costText = new Text2('', {
size: 100,
fill: '#ffffff',
@@ -142,9 +142,9 @@
y: 0.5
}
});
self.addChild(costText);
- costText.x = -400;
+ costText.x = -350;
costText.y = 0;
self.setCost = function (cost, affordable) {
costText.setText('Cost: ' + formatNumber(cost));
costText.fill = affordable ? '#00ff00' : '#ff0000';