User prompt
destroy milesbackground and miles on game over
Code edit (3 edits merged)
Please save this source code
User prompt
jump duration should be reduced by 5% every 10 seconds
User prompt
reduce split time by 5% every 10 seconds
User prompt
add a contnrol check to make sure nothing happens if uses swipes down again while player is split.
User prompt
while player is split, disable touch screen until it is merged again
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1517
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1545
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1545
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1545
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1549
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1549
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1549
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1587
User prompt
Please fix the bug: 'TypeError: Cannot set properties of null (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1517
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1517
User prompt
replance obstacleline, to use 3 small obsacles next to each other
User prompt
For obstacle line, use 3 small obstacles one on each lane, instead of using lineobstacle
Code edit (2 edits merged)
Please save this source code
User prompt
make sure obstacleline attaches obstacles one next to each other
User prompt
bigobstacles should spawn offscreen more
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
every 10 seconds reduce 5% the interval of the obstacle spawned
User prompt
Please fix the bug: 'TypeError: Cannot set properties of null (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1525
===================================================================
--- original.js
+++ change.js
@@ -1401,10 +1401,10 @@
game.addChildAt(gameOverCover, game.children.length);
player.destroy();
scoreTxt.destroy();
scoreBackground.destroy();
- milesTxt.destroy();
milesBackground.destroy();
+ milesTxt.destroy();
LK.setTimeout(function () {
LK.showGameOver(); // Calling this will destroy the 'Game' and reset entire game state.
}, 100); // Wait for 1 second (1000ms) before showing game over screen
}
@@ -1778,7 +1778,5 @@
milesTxt.y = scoreTxt.y - 120;
milesTxt.visible = false; // Hide miles on main menu
milesBackground.visible = false; // Hide miles background on main menu
LK.gui.top.addChild(milesBackground);
-LK.gui.top.addChild(milesTxt);
-milesTxt.destroy();
-milesBackground.destroy();
\ No newline at end of file
+LK.gui.top.addChild(milesTxt);
\ No newline at end of file
cartoon white circle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon light blue circle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon white square. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
black rectangle