Code edit (1 edits merged)
Please save this source code
User prompt
move score 10 pixels left
User prompt
move score 10 pixels left
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in this line: 'scoreTxt.x = gridContainer.x + totalGridWidth / 2;' Line Number: 99
User prompt
aligns score inthe same y but centered with grid on the x axis
User prompt
moves core 5 pixels right
User prompt
moves score 10 pixels right
User prompt
move score 20 pixels left
Code edit (6 edits merged)
Please save this source code
User prompt
moves score 100 pixels right
User prompt
dont show the word score on score in the game. only show the number
Code edit (1 edits merged)
Please save this source code
User prompt
moves score 100 pixels to the left
User prompt
show score in the top center of the game on tick
User prompt
change score color to black
User prompt
create an asset for color background. color backrodung should be white
User prompt
add LK.setScore(score);
Code edit (1 edits merged)
Please save this source code
User prompt
add score to the game. score will be 10 per exploded cell
Code edit (2 edits merged)
Please save this source code
User prompt
add check to always explode the needed cells on up event
Code edit (4 edits merged)
Please save this source code
User prompt
do not allow obliqutos connections
User prompt
reduce in 1 the diferent cell colors
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'y')' in this line: 'scoreTxt.y = gridContainer.y - scoreTxt.height / 2;' Line Number: 95
===================================================================
--- original.js
+++ change.js
@@ -95,9 +95,9 @@
x: 0.5,
y: 0
}
});
- scoreTxt.x = (2048 - totalGridWidth) / 2 + totalGridWidth / 2 - 20;
+ scoreTxt.x = (2048 - totalGridWidth) / 2 + totalGridWidth / 2 - 30;
LK.gui.topCenter.addChild(scoreTxt);
self.particles = [];
self.spawnParticles = function (x, y, color) {
for (var i = 0; i < 10; i++) {