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
User prompt
Fix Bug: 'Cannot read properties of undefined (reading 'x')' in this line: 'scoreTxt.x = gridContainer.x + totalGridWidth / 2;' Line Number: 90
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in this line: 'scoreTxt.x = gridContainer.x + totalGridWidth / 2;' Line Number: 90
User prompt
center scoretxt with grid
Code edit (1 edits merged)
Please save this source code
User prompt
remove score text and only shouw number
User prompt
change game background color to white
User prompt
create an asset for game background color
User prompt
hide selectedcellscounttxt
User prompt
only allow to connect next cell if it is adjacent , not obliquos
User prompt
disallow obliquos connections
User prompt
delete one instance of selecetd cells display
User prompt
hide selected cells count
User prompt
change font color of score to black
User prompt
Fix Bug: 'ReferenceError: selectedCellsCountTxt is not defined' in this line: 'selectedCellsCountTxt.setText('Selected Cells: ' + selectedCells.length);' Line Number: 297
===================================================================
--- original.js
+++ change.js
@@ -89,9 +89,9 @@
});
LK.gui.topCenter.addChild(selectedCellsCountTxt);
var scoreTxt = new Text2('Score: 0', {
size: 50,
- fill: "#ffffff",
+ fill: "#000000",
anchor: {
x: 0.5,
y: 0
}