===================================================================
--- original.js
+++ change.js
@@ -13,14 +13,14 @@
//Insert label here
var barHeight = 50;
var bonusLabel = self.addChild(new Text2('Streak Bonus', {
size: 90,
- fill: "#f4f5ff",
+ fill: 0xF4F5FF,
font: "Impact"
}));
var bonusAmountLabel = self.addChild(new Text2('1x', {
size: 170,
- fill: "#f4f5ff",
+ fill: 0xF4F5FF,
font: "Impact"
}));
bonusLabel.anchor.set(1, 1);
bonusLabel.y = barHeight / 2;
@@ -112,12 +112,20 @@
});
bubbleGraphics.width = 150;
bubbleGraphics.height = 150;
} else {
- var bubbleGraphics = self.attachAsset('bubble' + self.type, {
- anchorX: 0.5,
- anchorY: 0.5
- });
+ var bubbleGraphics;
+ if (self.type === 2) {
+ bubbleGraphics = self.attachAsset('Soccerball', {
+ anchorX: 0.5,
+ anchorY: 0.5
+ });
+ } else {
+ bubbleGraphics = self.attachAsset('bubble' + self.type, {
+ anchorX: 0.5,
+ anchorY: 0.5
+ });
+ }
}
/*if (!isFireBall && self.type > 1) {
bubbleGraphics.tint = bubbleColors[self.type];
}*/
@@ -223,11 +231,11 @@
countBG.y = 50;
self.fireballsLeft = 1;
var label = self.addChild(new Text2(self.fireballsLeft, {
size: 70,
- fill: "#ffffff",
+ fill: 0xFFFFFF,
font: "Impact",
- stroke: "#000000",
+ stroke: 0x000000,
strokeThickness: 13
}));
label.anchor.set(.5, .5);
label.x = 90;
@@ -778,9 +786,9 @@
var self = Container.call(this);
// Create a score label text string for ScoreMultipliers
var scoreMultiplierLabel = new Text2(baseValue, {
size: 100,
- fill: "#3954ff",
+ fill: 0x3954FF,
font: "Impact"
});
scoreMultiplierLabel.anchor.set(0.5, 0);
self.addChild(scoreMultiplierLabel);
@@ -872,10 +880,10 @@
}
// Create a score label
var scoreLabel = new Text2('0', {
size: 120,
- fill: "#ffffff",
- stroke: "#000000",
+ fill: 0xFFFFFF,
+ stroke: 0x000000,
strokeThickness: 15,
font: "Impact"
});
scoreLabel.anchor.set(0.5, 0);
Circular white gradient circle on black background. Gradient from white on the center to black on the outer edge all around.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Soft straight Long red paint on black background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Fire ball. Bubble shooter game. Thin black outline.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
green notification bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Can you create a soccer ball?. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.