Code edit (4 edits merged)
Please save this source code
Code edit (17 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: path.setupPlayer is not a function' in or related to this line: 'path.setupPlayer(player);' Line Number: 393
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: LK.playSound is not a function' in or related to this line: 'LK.playSound('step_disappear');' Line Number: 232
User prompt
when a path step disapear, a sound fx should be played.
===================================================================
--- original.js
+++ change.js
@@ -70,9 +70,9 @@
}, {
x: 1024,
y: 1800
}],
- // level 2
+ // level 1
[{
x: 1024,
y: 2400
}, {
@@ -117,9 +117,9 @@
}, {
x: 1024,
y: 2400
}],
- // level 1
+ // level 2
[{
x: 1024,
y: 2400
}, {
@@ -335,9 +335,9 @@
} else {
ball1.x = path.pathSteps[smallPathStep + 1].x;
ball1.y = path.pathSteps[smallPathStep + 1].y;
}
- path.pathSteps[smallPathStep].disapear();
+ //path.pathSteps[smallPathStep].disapear();
path.pathSteps.splice(smallPathStep, 1);
path.nextStep();
if (path.pathSteps.length == 1) {
showCongratsPopup();
tête de mort rouge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
tête de mort coter droit en bleu coter gauche en rouge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
tourbillon bleu et rouge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
bone. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
tourbillon rouge et bleu. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.