Code edit (15 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: bgMusic.reset is not a function' in or related to this line: 'bgMusic.reset();' Line Number: 578
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'LK.setSound is not a function' in or related to this line: 'LK.setSound('ambience').loop = true;' Line Number: 567
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'LK.getSound(...).setLoop is not a function' in or related to this line: 'LK.getSound('ambience').setLoop(true); // = 9999;' Line Number: 566
===================================================================
--- original.js
+++ change.js
@@ -533,8 +533,9 @@
obj.event = obj;
handleMove(obj);
});
console.log(LK.getSound('ambience'));
+console.log(LK);
LK.getSound('ambience').loop = true;
LK.getSound('ambience').play();
// Game tick event
LK.on('tick', function () {
A happy blue elephant.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
erase.
Make the bird sit inside a birdcage.
Three green arrows pointing down.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A sad little bluebird sitting down.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A happy little bluebird flying.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A happy little green bird flying.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A lush jungle scenery with huge old trees covered in vines and overwrowth, blue sky and forested mountains in the background.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A dark wooden message board with vines and jungle moss growing on top.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A happy little blue elephant, looking scared, facing the viewer, legs flailing as it falls through the air.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A delicious peanut.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
delete