===================================================================
--- 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;
@@ -97,9 +97,9 @@
};
if (type !== undefined) {
this.type = type;
} else {
- max_types = max_types || 3;
+ max_types = max_types || 6; // Increase max_types to 6 for more colors
if (max_types > 4) {
self.type = Math.floor(Math.random() * (.8 + Math.random() * .2) * max_types);
} else {
self.type = Math.floor(Math.random() * max_types);
@@ -223,11 +223,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 +778,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);
@@ -839,9 +839,9 @@
*/
var bulletsFired = 0; //3*30+1
var bubbleSize = 150;
var gameIsStarted = false;
-var bubbleColors = [0xff2853, 0x44d31f, 0x5252ff, 0xcb2bff, 0x28f2f0, 0xffc411];
+var bubbleColors = [0xff2853, 0x44d31f, 0x5252ff, 0xcb2bff, 0x28f2f0, 0xffc411, 0xffa500, 0x8a2be2]; // Added orange and blue-violet colors
var barriers = [];
var maxSelectableBubble = 3;
var warningLines = [];
for (var a = 0; a < 13; a++) {
@@ -872,10 +872,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.
green notification bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
triangle yellow 2d. Single Game Texture. In-Game asset. Blank background. High contrast. No shadows
rectangle purple 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
round red 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows