User prompt
Make the font for the time look glass like color yellow
User prompt
Replicate the RedBonusBall logic to the GreenBonusBall logic
User prompt
The game is still ending
User prompt
Examine and rectify all the methods for GreenBonusBall to prevent game over
User prompt
Rectify the drop method of the GreenBonusBall
User prompt
When the time hits 60, increase the speed of falling balls by one
User prompt
Correct overlapping logic
User prompt
For every bonus ball that enters the correct bucket, add five points to the score and add a sound that says either Yes or Way to go
User prompt
Play background music
User prompt
Remove the background from the timer
User prompt
The font for the timer should be 10
User prompt
Add a glass like background for the timer
User prompt
The timer and the score font color should be bold maroon
User prompt
Add a time at the top right part of the game canvas on the same level as the scores
User prompt
Add a glass like maroon background for the the score part
User prompt
The GreenBonusBall is collected by the GreenBucket
User prompt
Remove the BonusBlueBall class and all it's dependants
User prompt
Please fix the bug: 'ReferenceError: BonusBlueBall is not defined' in or related to this line: 'var newBlueBonusBall = new BonusBlueBall();' Line Number: 345
User prompt
Collect the BlueBonusBall
User prompt
Please fix the bug: 'ReferenceError: BonusBlueBall is not defined' in or related to this line: 'var newBlueBonusBall = new BonusBlueBall();' Line Number: 345
User prompt
Make all the necessary corrections
User prompt
As long as the ball enters the correct bucket let it settle there instead of bursting or disappear
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'ReferenceError: BonusBlueBall is not defined' in or related to this line: 'var newBlueBonusBall = new BonusBlueBall();' Line Number: 343
User prompt
BlueBonusBall is collected by Blue bucket
===================================================================
--- original.js
+++ change.js
@@ -126,10 +126,9 @@
}
self.speed = 0;
self.y = buckets[i].y - buckets[i].height / 2 + self.height / 2;
self.settled = true;
- self.destroy();
- balls.splice(balls.indexOf(self), 1);
+ // Continue the game without ending it
break;
}
}
}
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.