User prompt
Please fix the bug: 'ReferenceError: BonusBall is not defined' in or related to this line: 'newBall = new BonusBall();' Line Number: 152
User prompt
Please fix the bug: 'ReferenceError: BonusBlueBall is not defined' in or related to this line: 'var newBall = new BonusBlueBall();' Line Number: 191
User prompt
Please fix the bug: 'ReferenceError: BonusBall is not defined' in or related to this line: 'newBall = new BonusBall();' Line Number: 152
User prompt
Please fix the bug: 'ReferenceError: BonusBlueBall is not defined' in or related to this line: 'var newBall = new BonusBlueBall();' Line Number: 191
User prompt
Please fix the bug: 'ReferenceError: BonusBall is not defined' in or related to this line: 'newBall = new BonusBall();' Line Number: 152
User prompt
Introduce a bonusblueball that only enters the BlueBucket and awards the player ten points
User prompt
Game ends when BlueBall or RedBall enters the GreenBucket
User prompt
All the BlueBalls to drop inside the BlueBucket
User prompt
Increase the speed of the balls by 1 as the play time increases
User prompt
Allow only RedBonusBall and RedBall inside the RedBucket
User prompt
The BlueBucket should collect BlueBalls
User prompt
Play Poof sound when ball enters the correct bucket
User prompt
Game should continue after collecting RedBonusBall
User prompt
The correct bucket for the RedBonusBall is the ResBucket
User prompt
Allow collection of balls
User prompt
Collect the balls inside the buckets
User prompt
Prevent the balls inside the correct buckets from bursting
User prompt
The balls should not burst when the reach down
User prompt
Allow RedBonusBall to enter the red bucket
User prompt
The balls should not burst when they touch the bucket
User prompt
Increase the speed to 5 when the points reach 25
User prompt
Reduce the frequency of dropping the RedBonusBall to 2 minutes
User prompt
No ball should fall behind the bucket
User prompt
Ball should fall inside the bucket
User prompt
The red bonus ball should fall after 60 seconds
===================================================================
--- original.js
+++ change.js
@@ -61,9 +61,9 @@
return obj.x >= self.x - self.width / 2 && obj.x <= self.x + self.width / 2 && obj.y >= self.y - self.height / 2 && obj.y <= self.y + self.height / 2;
};
return self;
});
-var BonusBall = Ball.expand(function () {
+var BonusBlueBall = Ball.expand(function () {
var self = Ball.call(this, 'Blue');
self.drop = function () {
self.speed = 5;
for (var i = 0; i < buckets.length; i++) {
A red ball with the words bonus. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A Green ball written bonus. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Metallic marron clear background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.