User prompt
Add a indicators array to cell
User prompt
In game set target alpha to .5 not .4
User prompt
In game move up score text by 15 px
User prompt
Move up score text by 15 px
User prompt
For score text and multiplier switch drop shadow to outline
User prompt
Change text colors to white whit black drop shadows
User prompt
Set indicatorGraphics alpha to .5
User prompt
Set cell indicators alpha to .5
User prompt
Set indicatorDistance to 85
User prompt
Move backgroundGraphics 3px down
User prompt
Move backgroundGraphics 3px to right
User prompt
Move backgroundGraphics up by 15px
User prompt
Move backgroundGraphics 10px left
User prompt
In GridBackgroundCell do not move bg graphics
User prompt
Set indicatorDistance to 70
User prompt
Set indicatorDistance to 80
User prompt
In click indicator set indicatorGraphics blend mode to 2
User prompt
Set clock graphics blend mode to 0
User prompt
When looping and creating 6 indicators. Set their blend mode to 2
User prompt
For the 6 indicators in cell set blend mode to 2
User prompt
In cell set indicator blend mode to 2
User prompt
Set indicatorDistance to 90
User prompt
When adding indicators in cell use addchildat 1
User prompt
Move clockGraphics creation and definition to after indicator creation
User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'clockGraphics.x')' in this line: 'var indicatorX = clockGraphics.x + Math.cos(radian) * indicatorDistance;' Line Number: 132
===================================================================
--- original.js
+++ change.js
@@ -5,12 +5,12 @@
var PointsText = Container.expand(function (points, x, y) {
var self = Container.call(this);
var text = new Text2('+' + points, {
size: 180,
- fill: '#000000',
+ fill: '#ffffff',
weight: '800',
align: 'center',
- stroke: '#ffffff',
+ stroke: '#000000',
strokeThickness: 12
});
text.anchor.set(.5, .5);
text.x = x;
@@ -36,9 +36,8 @@
});
var ClockIndicator = Container.expand(function () {
var self = Container.call(this);
var indicatorGraphics = self.createAsset('clockIndicator', 'Clock Indicator Graphics', .5, .5);
- indicatorGraphics.alpha = 0.5;
indicatorGraphics.blendMode = 2;
return self;
});
var Tile = Container.expand(function (type) {
@@ -129,9 +128,9 @@
clockGraphics.y = -8;
clockGraphics.x = -4;
clockGraphics.blendMode = 0;
var indicatorAngles = [270, 330, 30, 90, 150, 210];
- var indicatorDistance = 85;
+ var indicatorDistance = 70;
indicatorAngles.forEach(function (angle) {
var radian = angle * (Math.PI / 180);
var indicatorX = clockGraphics.x + Math.cos(radian) * indicatorDistance;
var indicatorY = clockGraphics.y + Math.sin(radian) * indicatorDistance;
@@ -315,13 +314,13 @@
}
if (mode && !self.mergeModeTextShown) {
var mergeModeText = new Text2('Tap a tile to merge\nall tiles into it', {
size: 130,
- fill: '#000000',
+ fill: '#ffffff',
weight: '800',
align: 'center',
dropShadow: true,
- dropShadowColor: '#ffffff',
+ dropShadowColor: '#000000',
dropShadowBlur: 4,
dropShadowAngle: Math.PI / 6,
dropShadowDistance: 6
});
@@ -611,12 +610,12 @@
}
};
var scoreTxt = new Text2('0', {
size: 150,
- fill: '#24272b',
+ fill: '#ffffff',
font: 'Impact',
dropShadow: true,
- dropShadowColor: '#ffffff',
+ dropShadowColor: '#000000',
dropShadowBlur: 4,
dropShadowAngle: Math.PI / 6,
dropShadowDistance: 6
});
@@ -624,12 +623,12 @@
LK.gui.topCenter.addChild(scoreTxt);
self.addChild(bottomTilesContainer);
var scoreMultiplierTxt = new Text2('+1', {
size: 100,
- fill: '#24272b',
+ fill: '#ffffff',
font: 'Impact',
dropShadow: true,
- dropShadowColor: '#ffffff',
+ dropShadowColor: '#000000',
dropShadowBlur: 4,
dropShadowAngle: Math.PI / 6,
dropShadowDistance: 6
});
Simple White square round corners. Vector. No details. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Outdoor, nighttime Christmas Background for puzzle game. Cartoon. Pastel colors, flat shaded, vector art. Full width blank square in center. Sharp corners.
Simple Snow dunes cartoon. Christmas gifts at bottom
Simple white arrow pointing up. Mouse cursor like. Black outline. No shadow