User prompt
39 bug the help mall choco create clones when we drag it i don't wanna that
User prompt
Please fix the bug: 'ReferenceError: obj is not defined' in or related to this line: 'var pos = obj.event.getLocalPosition(game);' Line Number: 32
User prompt
bug the heart mold choco creates many clones I don't wanna this I just wanna create I don't wanna create clones
User prompt
Do that we can only drag one mold, not, don't create clones.
User prompt
Do a drag function for the hearthMoldChoco
User prompt
Mets le oven au centre.
User prompt
The oven should be showed only when the frying pan choco interacts with the half-mold choco.
User prompt
Bug, I don't see the oven.
User prompt
Please fix the bug: 'ReferenceError: oven is not defined' in or related to this line: 'oven.visible = true;' Line Number: 104
User prompt
Now, show the oven when the fryingPanChoco interects the hearth mold
User prompt
thank you so much now can you show the oven when it's
User prompt
Show it. That's a note.
User prompt
I didn't tell you to talk to me. I tell you to do it. Règle le problème.
User prompt
Quand le Frying Pan Choco touche le Herd Mode, cache le Frying Pan Choco.
User prompt
Quand la poêle remplie de chocolat touche le heart mold, tâche-le.
User prompt
quand fryingPanChoco touche le hearth mold, cache le fryingPanChoco
User prompt
Please fix the bug: 'ReferenceError: HearthMoldChoco is not defined' in or related to this line: 'var hearthMoldChoco = game.addChild(new HearthMoldChoco());' Line Number: 92
User prompt
quand fryingPanChoco touche le hearth mold, montre le hearthMoldChoco
User prompt
quand le fryingPanChoco touche le hearthMold cache les
User prompt
hide the score
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: dragNode.melt is not a function' in or related to this line: 'dragNode.melt();' Line Number: 105
User prompt
Fait qu'on puisse draguer le frying pan chocolat.
Code edit (1 edits merged)
Please save this source code
User prompt
Quand le score est égal à 5, faites disparaître toutes les barres de chocolat.
===================================================================
--- original.js
+++ change.js
@@ -75,8 +75,15 @@
/****
* Game Code
****/
+LK.on('tick', function () {
+ if (fryingPanChoco.intersects(heartMold)) {
+ var hearthMoldChoco = game.addChild(new HearthMoldChoco());
+ hearthMoldChoco.x = heartMold.x;
+ hearthMoldChoco.y = heartMold.y;
+ }
+});
var meltedChocolateBars = [];
LK.on('tick', function () {
scoreText.setText('Score: ' + LK.getScore());
});
@@ -94,12 +101,8 @@
dragNode.y = pos.y - dragNode.height / 2;
if (dragNode && typeof dragNode.melt === 'function') {
dragNode.melt();
}
- if (dragNode === fryingPanChoco && dragNode.intersects(heartMold)) {
- dragNode.visible = false;
- heartMold.visible = true;
- }
}
});
// Event listener for releasing the chocolate bars
game.on('up', function (obj) {
a chocolate bar. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple fraying pan. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
make the water more brown
rempli en gris
rempli le de chocolat
a simple fridge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a chocolate hearth. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.