User prompt
Increase point text font size to 180
User prompt
On point text add a white outline
User prompt
Use anchor.set to set anchor to .5,.5 on point texts
User prompt
Use anchor.set to set anchor to .5,.5 on score text
User prompt
Set anchor to .5,.5 on point text
User prompt
Use weight not font weight in score text
User prompt
Set point text color to black and weight:800
User prompt
Attach points text to grid container
User prompt
Remove points text with a timeout rather than tick
User prompt
When awarding points show a points text with how many points I got where I tapped for 1 sec
User prompt
In tile down after setting drag tile reset score multiplier to 1
User prompt
In set merge mode, if false set scoreMultiplier to 1
User prompt
at the bottom of mergeConnectedNeighbors if connectedNeighbors.length >= 3 increment score multiplier by 1. Do this after if (colRow) {
User prompt
at the bottom of mergeConnectedNeighbors if connectedNeighbors.length >= 3 increment score multiplier by 1
User prompt
After connectedNeighbors.forEach( in mergeConnectedNeighbors increment scoreMultiplier by 1
User prompt
When adding score multiply by scoreMultiplier
User prompt
Add a score multiplier variable to game, set it to 1
User prompt
In setMergeMode set bottomTilesContainer alpha to .4 if true otherwise set 1
User prompt
After we attach score text attach bottomTilesContainer to self
User prompt
Attach bottomTilesContainer to self at the bottom of game
Code edit (1 edits merged)
Please save this source code
User prompt
attach bottomTilesContainer to self
User prompt
Create bottomTilesContainer as a simple container a above setMergeMode
User prompt
Remove bottomTilesContainer both places it exist
User prompt
Delete the bottomTilesContainer and attachment of same above bottomTiles. Rewrite bottomTiles as well to make sure you remove the right version
===================================================================
--- original.js
+++ change.js
@@ -190,9 +190,8 @@
};
self.mergeConnectedNeighbors = function (cell) {
var connectedNeighbors = self.findConnectedNeighbors(cell);
if (connectedNeighbors.length >= 3) {
- self.scoreMultiplier += 1;
var colRow = self.findCellColRow(cell);
var newType = (cell.type + 1) % cell.totalTypes;
var newCell = new Cell(newType);
newCell.visible = false;
@@ -213,8 +212,9 @@
newCell.isMoving = true;
grid[colRow.col][colRow.row] = newCell;
self.addAndHandleCell(newCell);
}
+ self.scoreMultiplier += 1;
}
};
var bottomTilesContainer = new Container();
self.setMergeMode = function (mode) {
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.