Code edit (1 edits merged)
Please save this source code
User prompt
when a tile value become 0, animate its shrink to a 0 size
Code edit (2 edits merged)
Please save this source code
User prompt
when tile value is 0 don't display "0" but ""
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'self.fillTilesNeighbors is not a function' in or related to this line: 'break;' Line Number: 486
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'self.fillTilesNeighbors is not a function' in or related to this line: 'self.fillTilesNeighbors();' Line Number: 210
User prompt
create a new function in puzzle manager to fill tiles neighbors. call it in loadLevel after createBoard()
User prompt
after creating the board, fill tiles neighbors
User prompt
add detailed log (with log()) in propagateOperation
User prompt
When updating a tile value after a drop, also update the tile color with anim
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'dragNode.destroy();' Line Number: 569
User prompt
on successful drop, make operation button disapear with animation
Code edit (4 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: operation.updateUses is not a function' in or related to this line: 'operation.updateUses();' Line Number: 231
User prompt
Please fix the bug: 'Uncaught TypeError: currentTile.setValue is not a function' in or related to this line: 'currentTile.setValue(currentTile.value + parseInt(operation.type));' Line Number: 241
User prompt
Please fix the bug: 'Uncaught TypeError: Set is not a constructor' in or related to this line: 'var visited = new Set();' Line Number: 231
User prompt
when droping operation, take into account boardContainer coords as tiles coord are relative to it
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
Here is the log: VM543:330 Operation dropped at 1024.7185094197591 1467.1076782226564 14:23:55.811 VM543:330 Checking tile at position: 0 0 14:23:55.811 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Operation button not above any tile Fix the drop code
User prompt
Here is the log: VM543:330 Operation dropped at 1024.7185094197591 1467.1076782226564 14:23:55.811 VM543:330 Checking tile at position: 0 0 14:23:55.811 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Checking tile at position: 0 0 14:23:55.812 VM543:330 Operation button is NOT above tile at position: 0 0 14:23:55.812 VM543:330 Operation button not above any tile Fix the code
Code edit (1 edits merged)
Please save this source code
User prompt
in ``` puzzleManager.board.forEach(function (tile) { if (dragNode.x >= tile.x - tile.width / 2 && dragNode.x <= tile.x + tile.width / 2 && dragNode.y >= tile.y - tile.height / 2 && dragNode.y <= tile.y + tile.height / 2) { puzzleManager.applyOperation(dragNode, tile); tileFound = true; } }); ``` add detailed logs because it doesn't work
===================================================================
--- original.js
+++ change.js
@@ -98,8 +98,19 @@
self.valueText.setText("");
self.valueTextShadow.setText("");
}
});
+ tween(tileGraphicsShadow, {
+ scaleX: 0,
+ scaleY: 0
+ }, {
+ duration: 500,
+ easing: tween.easeOut,
+ onFinish: function onFinish() {
+ self.valueText.setText("");
+ self.valueTextShadow.setText("");
+ }
+ });
} else {
self.valueText.setText(self.value.toString());
self.valueTextShadow.setText(self.value.toString());
}
tick
Sound effect
tileEntrance
Sound effect
tileRemove
Sound effect
operationSelect
Sound effect
operationCancel
Sound effect
tileChangeValue
Sound effect
resetSound
Sound effect
levelFailed
Sound effect
menuLevelSelect
Sound effect
menuCellEnter
Sound effect
applause
Sound effect
bgMusic
Music
tada
Sound effect