Code edit (3 edits merged)
Please save this source code
User prompt
Add a function to the game code that is used to increase the game score. This should use LK methods to update score and also update the label value
Code edit (1 edits merged)
Please save this source code
Code edit (9 edits merged)
Please save this source code
User prompt
The score colors does not work as the format must be "#xxxxxx"
User prompt
In ScoreIndicatorLabel use the bubbleColors values to set color based on type. Make sure to covert to string hex values
Code edit (6 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: undefined is not an object (evaluating 'scoreMultipliers[Math.floor(self.x / (2048 / 5))].applyBubble')' in or related to this line: 'scoreMultipliers[Math.floor(self.x / (2048 / 5))].applyBubble(self);' Line Number: 77
Code edit (5 edits merged)
Please save this source code
User prompt
If unattached bubbles falls below 2732 - 500 remove them
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
In ScoreMultipliers add a score label text string. This should be white with the font Impact.
Code edit (10 edits merged)
Please save this source code
User prompt
Use impact for the score label
User prompt
Add a score label to the top center of the screen. The score label should be centered and have a black outline and white font
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
when circles and barriers intersect, move the circle back, such that it just touches the barrier and no longer intersects
Code edit (1 edits merged)
Please save this source code
User prompt
Move the ball outside the barrier so they no longer intersects, when they intersect
Code edit (7 edits merged)
Please save this source code
User prompt
When intersecting a barrier, the new speed should be based on ball to ball intersection like billiard balls. With the barrier being static and the bubbles being standard billiard balls
User prompt
Bubbles should bounce on barriers, using circle to circle intersections and billiard ball like physics
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -218,8 +218,9 @@
self.alpha -= .05;
if (self.alpha <= 0) {
self.destroy();
}
+ increaseScore(baseValue);
};
});
var ScoreMultipliers = Container.expand(function (baseValue) {
var self = Container.call(this);
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.