User prompt
in processMergeAndGameOver if self.mergeMode is false, set score multiplier to 1 and update updateScoreMultiplier
Code edit (9 edits merged)
Please save this source code
User prompt
When changing scoreMultiplier also call updateScoreMultiplier
User prompt
set scoreMultiplierTxt x to -20
User prompt
create a label in the top right corner showing your current score multiplier with the format +x. Create the label during game init
Code edit (1 edits merged)
Please save this source code
User prompt
set scoreMultiplierDisplay.x to -10
User prompt
set anchor on scoreMultiplierDisplay to 1,0
User prompt
Create a label in the top right corner showing your current score multiplier with the format +x
User prompt
Show points multiplier in top right corner with the format +x
User prompt
In cell update alpha twice as fast
User prompt
In highlightOverlappingCells use tile.cells currentHue to calculate the target ting
Code edit (1 edits merged)
Please save this source code
User prompt
in resetBackgroundGridCells use .5 for alpha
User prompt
in highlightOverlappingCells use the tint colors of tile.cells to set tint
User prompt
in highlightOverlappingCells use the tint of the overlappingCells to set tint using setAlphaAndTint
User prompt
in GridBackgroundCell set bgCellGraphics alpha to 0.5
User prompt
in setAlphaAndTint set alpha to the alpha variable passed to the method
User prompt
in GridBackgroundCell set bgCellGraphics.alpha to .6
User prompt
in GridBackgroundCell setAlphaAndTint method set bgCellGraphics alpha to the alpha passed as a variable.
User prompt
in setAlphaAndTint set bgCellGraphics alpha to the alpha passed to the variable
User prompt
in setAlphaAndTint set bgCellGraphics alpha to the alpha passed to the variable
Code edit (1 edits merged)
Please save this source code
User prompt
Make cell fade twice as fast
User prompt
When adding elements to todelete.push, add the neighborCell to it's parent again, with addChildAt, and an index one smaller than cell
===================================================================
--- original.js
+++ change.js
@@ -220,14 +220,18 @@
cell.targetAlpha = 0.4;
}
});
});
- } else updateScoreMultiplier('test');
+ }
var isAnyTileMoving = bottomTiles.some(function (tile) {
return tile.isMoving;
});
isAnyRowMoving = grid.some(row => row.some(cell => cell && cell.isMoving));
- if (!isAnyTileMoving && !self.canPlaceAnyTile() && !isAnyRowMoving && toDelete.length === 0 && !self.mergeMode) {
+ if (!isAnyTileMoving && !self.canPlaceAnyTile() && !isAnyRowMoving && toDelete.length === 0) {
+ if (!self.mergeMode) {
+ self.scoreMultiplier = 1;
+ self.updateScoreMultiplier(self.scoreMultiplier);
+ }
LK.showGameOver();
}
}
};
Simple White square round corners. Vector. No details. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Background for relaxing puzzle game. Pastel colors, flat shaded, vector art. Flowers. Blocks. Relaxing. Clouds Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Simple White square round corners. Vector. No details. Single Game Texture. In-Game asset. 2d. White background. High contrast. No shadows.
Simple black arrow pointing up. Mouse cursor like.