User prompt
instead of diming an item when is selected in the bottom of the screen, increase its size
User prompt
items should not be dimmed
User prompt
each level will have a timer countdown. use the timer on the top riht
User prompt
add alpha to bottombackground
User prompt
add 5 more levels
User prompt
add alpha to topbackground
User prompt
move level lo the top left and add time in the top right where level is now
User prompt
move items 20 pixels higher in bubble
User prompt
make sure shadow is also destryed when customer is destroyed
User prompt
separate animation of bubble and shadow from customer. customer should move but bubble and shadow no.
User prompt
Please fix the bug: 'Uncaught TypeError: self.orderBubble.setOrder is not a function' in or related to this line: 'self.orderBubble.setOrder(order);' Line Number: 83
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'length')' in or related to this line: 'self.orderAsset = self.attachAsset(order, {' Line Number: 163
User prompt
shadow and bubble should be separate entities than the ccustomer
User prompt
separate animation for shado, customer, and bubble
User prompt
when customer spins, shadow should not move
User prompt
Please fix the bug: 'Uncaught ReferenceError: customerGraphics is not defined' in or related to this line: 'customerGraphics.rotation = 0;' Line Number: 287
User prompt
bubble should not spin, only customer
User prompt
customer should shrink faster on tick when spining
User prompt
when customer is spining also shrink its size
User prompt
make sure customer spins when orrder is cmplete
User prompt
Please fix the bug: 'Uncaught ReferenceError: customerGraphics is not defined' in or related to this line: 'customerGraphics.rotation = 0;' Line Number: 287
User prompt
when customer spins, it should only spin the customer but bubble should stay in the same spot
User prompt
when order is complete, have customer spin on its axis
User prompt
add more space between customers
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of null (setting 'x')' in or related to this line: 'customer.orderBubble.x = customer.x;' Line Number: 277
===================================================================
--- original.js
+++ change.js
@@ -46,11 +46,13 @@
}, 500);
self.update = function () {
// Add small up and down movement to the customers
self.y += Math.sin(LK.ticks / 10) * 0.5;
- shadow.y = customerGraphics.height / 2;
};
}
+ shadow.update = function () {
+ shadow.y = customerGraphics.height / 2;
+ };
};
};
self.setOrder = function (order) {
if (self.orderBubble) {
@@ -74,8 +76,11 @@
self.update = function () {
// Add small up and down movement to the customers
self.y += Math.sin(LK.ticks / 10) * 0.5;
};
+ self.orderBubble.update = function () {
+ self.orderBubble.y = -self.height / 2 - self.orderBubble.height / 2;
+ };
};
self.getOrder = function () {
return self.order;
};
@@ -303,8 +308,16 @@
}
// Update function
game.update = function () {
levelTxt.setText('LVL ' + currentLevel.levelNumber);
+ for (var i = 0; i < customers.length; i++) {
+ if (customers[i].shadow) {
+ customers[i].shadow.update();
+ }
+ if (customers[i].orderBubble) {
+ customers[i].orderBubble.update();
+ }
+ }
// Check if all orders are fulfilled
var allOrdersFulfilled = true;
for (var i = 0; i < customers.length; i++) {
if (customers[i].orderBubble.orderAsset1 && customers[i].orderBubble.orderAsset1.alpha === 1) {
8bit. cartoon. icecream. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon and 8 bit message. reads: Time's Up!. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8bit. cartoon. palm tree.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.