User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
User prompt
Fix Bug: 'ReferenceError: sugars is not defined' in this line: 'var bowlIndex = sugars.indexOf(self);' Line Number: 27
User prompt
when player taps on the sugar all the sugars go to a difrent bowl each
User prompt
Fix Bug: 'ReferenceError: butters is not defined' in this line: 'butters.forEach(function (butter, index) {' Line Number: 39
User prompt
when player taps on the butter all the butters go to a difrent bowl each
User prompt
player should still be able to tap butter and sugar
User prompt
Fix Bug: 'TypeError: egg.containsPoint is not a function' in this line: 'if (egg.containsPoint(pos)) {' Line Number: 46
User prompt
when player taps egg all the eggs go in a difrent bowel each
User prompt
Fix Bug: 'TypeError: butter.containsPoint is not a function' in this line: 'if (butter.containsPoint(pos)) {' Line Number: 79
User prompt
when player taps on the butter all the butters go to a difrent bowl each
User prompt
when player taps sugar all the sugars go to a difrent bowle each
User prompt
when game starts can clikc on the sugar
User prompt
the player has to clikc anywhere on the screen to start the game
User prompt
Fix Bug: 'Uncaught ReferenceError: sugarGraphics is not defined' in this line: 'sugar.y = Math.random() * (2732 - bowl.height - sugarGraphics.height);' Line Number: 53
User prompt
Fix Bug: 'Uncaught ReferenceError: eggGraphics is not defined' in this line: 'egg.y = Math.random() * (2732 - bowl.height - eggGraphics.height);' Line Number: 48
User prompt
sugar and eggs should be above the bowls
User prompt
sugar should be above he bowls
===================================================================
--- original.js
+++ change.js
@@ -72,9 +72,8 @@
bowls.push(bowl);
self.addChild(bowl);
}
var eggs = [];
- var sugars = [];
var butters = [];
var cookies = [];
for (var i = 0; i < 8; i++) {
var egg = new Egg();
egg. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
sugar in a bag. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a butter stik in its wrapper. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pink kithen bowl. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pile of sugar. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cracked egg white and yolk seeping. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
soft butter stick. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A delicious plain vanilla cookie. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A delicious plain vanilla cookie, where three bites have been taken. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A cute kawaian bakery interior with strawberry tiles. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A cute girl happily eating way too many vanilla cookies. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.