User prompt
Add a line of falling balls above the dancing cups. When the falling balls hit the dancing cups, the balls disappear. These balls do not affect the score counter or 60 second timer.
User prompt
Reverse the animation of the right dancing cup
User prompt
Add a true or false to the difficulty buttons. If it is true, the color is green. If it is false, the color is red. Make sure the color of the button is accurate when opening the settings gui.
User prompt
After closing the settings gui, make sure the color of the difficulty boxes say the exact same color as they are when the settings gui is closed. localstorage is not enabled, so do not use that.
User prompt
Fix Bug: 'TypeError: this.setButtonColor is not a function' in this line: 'this.setButtonColor(easyButton, 'easy');' Line Number: 298
User prompt
Improve the color changing boxes without breaking anything.
User prompt
Fix Bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'updateFallingObjects')' in this line: 'self.updateFallingObjects = function () {' Line Number: 874
User prompt
Improve the game without breaking anything.
User prompt
Make the dancing cup stay at the position after rotating for 1 second
User prompt
Make the dancing cup animation rotation .01 seconds, but make the cup stay at position for 1 second.
User prompt
Make the dancing cup animation a stiff animation. Do not show the motion
User prompt
Make the dancing cup animation do a rotation once every 1 second
User prompt
Add a 35 degree rotation to the left at the start of the dancingcups animation. After the first rotation, make the rotation a 70 degree rotation to the right. After that rotation, make it a 70 degree rotation to the left. Repeat each 70 degree rotation.
User prompt
Add a 35 degree rotation to the left at the start of the cup animation. After the first rotation, make the rotation a 70 degree rotation to the right. After that rotation, make it a 70 degree rotation to the left. Repeat each 70 degree rotation.
User prompt
Add a dancing animation to of the dancing cups.
User prompt
Add a dancing animation to both cups. Make the animation go forever until the start button is pressed.
User prompt
Move both cups down 100 pixels
User prompt
Move both cups up 500 pixels
User prompt
Move the cup to the right 50 pixels to the left
User prompt
Move the cup to the right 50 pixels to the left
User prompt
Move the left cup 100 pixels to the left and move the right cup 100 pixels to the right
User prompt
Move the left cup 200 pixels to the left and move the right cup 200 pixels to the right
User prompt
Put 1 of the cups to the left of the coffee catcher text and move one to the right
User prompt
Add a duplicate DancingCup to the start screen gui
User prompt
Move the coffee catcher text up 100 pixels
===================================================================
--- original.js
+++ change.js
@@ -694,8 +694,22 @@
};
self.isDestroyed = false;
self.resetPosition();
});
+var DecorativeBall = Container.expand(function () {
+ var self = Container.call(this);
+ var ballGraphics = self.createAsset('ball', 'Decorative ball graphics', 0.5, 0.5);
+ self.addChild(ballGraphics);
+ self.speed = 2;
+ self.move = function () {
+ self.y += self.speed;
+ };
+ self.resetPosition = function () {
+ self.x = Math.random() * (2048 - ballGraphics.width) + ballGraphics.width / 2;
+ self.y = -ballGraphics.height;
+ };
+ self.resetPosition();
+});
// TimerItem class
var TimerItem = Container.expand(function () {
var self = Container.call(this);
var timerItemGraphics = self.createAsset('timerItem', 'Falling timer item', 0.5, 0.5);
@@ -833,8 +847,16 @@
dancingCup2.x = game.width / 2 + 900;
dancingCup2.y = game.height / 2 - 700; // Position to the right of the Coffee Catcher text
dancingCup2.reverseAnimation = true; // Flag to reverse the animation direction
self.addChild(dancingCup2);
+ self.decorativeBalls = [];
+ for (var i = 0; i < 10; i++) {
+ var decorativeBall = new DecorativeBall();
+ decorativeBall.x = i * 204.8; // Evenly space out the balls
+ decorativeBall.y = -100; // Start above the screen
+ self.decorativeBalls.push(decorativeBall);
+ self.addChild(decorativeBall);
+ }
// Add left to right motion animation to the start button
startButton.on('over', function () {
startButton.scale.x *= 1.05;
startButton.scale.y *= 1.05;
@@ -846,12 +868,25 @@
startButton.on('down', function () {
LK.gui.top.addChild(scoreTxt); // Add score text to GUI overlay
LK.gui.top.addChild(timerTxt); // Add timer text to GUI overlay
isPaused = false;
+ self.updateDecorativeBalls = function () {
+ self.decorativeBalls.forEach(function (decorativeBall) {
+ decorativeBall.move();
+ if (decorativeBall.y > 2732 / 2 - 700 + dancingCup1.height) {
+ // Check if the decorative ball intersects with either dancing cup
+ if (dancingCup1.intersects(decorativeBall) || dancingCup2.intersects(decorativeBall)) {
+ decorativeBall.destroy();
+ }
+ }
+ });
+ };
+ LK.on('tick', self.updateDecorativeBalls);
// Start the closing animation for the start menu GUI
var closeAnimation = new GUIAnimation(self, 0.1, 30, 'slide', function () {
game.removeChild(self);
});
+ LK.off('tick', self.updateDecorativeBalls);
closeAnimation.start();
});
});
Coffee droplet.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Have the coffee cup open at the top
High end Coffee Shop. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Coffee trail going vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Coffee splashing effect. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No Shadows.
Black circle with a bit of transparency.
Coffee Bean With Nothing Else. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Clock, Nothing else in the image.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A white particle trail, vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove the plus from this image
Red X. Nothing else.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
White rectangle, curved corners. Small black border. Simple, modern. Aspect ratio 1550 * 2500.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Include only the spike.
Remove the bottom part that is not coming from the center explosion
Rectangular coffee themed start button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove the random stuff below the question mark
Coffee themed button which has the text "gamemode". Make the aspect ratio of this button 5:1. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.