User prompt
Add a 1 minute timer under the score counter.
User prompt
Add a random speed to each of the falling balls.
User prompt
Don't end the game when the score of 10 is reached. Instead, create a 1 minute timer and end the game when the timer ends.
User prompt
Fix Bug: 'TypeError: cup.intersectsTop is not a function' in this line: 'if (cup.intersectsTop(balls[i])) {' Line Number: 86
User prompt
Remove the top of cup feature. Just allow the balls to interact with any part of the cup.
User prompt
Bug: Balls are not colliding with the cup. Maybe track the position of the cup?
User prompt
Redo the collision logic so it will only collide with the cup and increase score when it collides with the cup.
User prompt
The balls are not colliding with the cup.
User prompt
Bug: Ball collision is not working correctly.
User prompt
Bug: The balls are not increase the score when interacting with the cup. The balls are also going away randomly without the cup touching it.
User prompt
The score calculation is incorrect
User prompt
Add a feature where if a falling fall touches the top of the cup, the ball disappears and a point is added.
Initial prompt
Cup Filler
===================================================================
--- original.js
+++ change.js
@@ -4,9 +4,9 @@
// Ball class
var Ball = Container.expand(function () {
var self = Container.call(this);
var ballGraphics = self.createAsset('ball', 'Falling ball', 0.5, 0.5);
- self.speed = 3;
+ self.speed = Math.random() * 3 + 2; // Balls will have speeds between 2 and 5
self.scoreValue = 1; // Default score value for each ball
self.move = function () {
self.y += self.speed;
};
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.