User prompt
add a new score tracker below the current score
User prompt
Create a counter that track the distance the player has travelled. display it on the top center of the screen
User prompt
add a counter of miles similar to score. display it below the score
User prompt
nice! now remove the text ''Miles:'' just leave the number
Code edit (1 edits merged)
Please save this source code
User prompt
add scorebackground behind the miles counter
User prompt
miles should count faster
User prompt
miles should count faster as game speed goes faster too
User prompt
Please add a background image to the miles tracker that is located below the score
User prompt
transpos position of score and miles counters
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'var scoreBackground = LK.getAsset('scoreBackground', {' Line Number: 820
User prompt
move score text 200 pixels down
User prompt
do not make miles backtround relative to the score deposition. just put the current y position
User prompt
only move score text 100 pixels down. do not move the assets or assets of miles tracker
User prompt
move miles backrgound 100 pixels up
User prompt
use a new backround for miles backround and not the same as scorebacgkgournd. create a new asset
User prompt
move miles number 20 pixels down
User prompt
move score 100 pixels down
User prompt
move score backround 100 pixels down too
User prompt
move miles tracker 100 pixels on top of score instead of below
User prompt
move miles backgroudn 50 pixels down
Code edit (1 edits merged)
Please save this source code
User prompt
move score text 50 pixels to the right
User prompt
move score move score and miles text only (not background) 50 pixels to the right
User prompt
move scorebackgournd 50 pixels to the right
===================================================================
--- original.js
+++ change.js
@@ -795,9 +795,9 @@
y: scoreTxt.y + scoreTxt.height / 2 + 100
});
scoreTxt.anchor.set(0.5, 0);
scoreTxt.x += 500;
-scoreTxt.y += 100;
+scoreTxt.y += 200;
scoreTxt.visible = false; // Hide score on main menu
scoreBackground.visible = false; // Hide score background on main menu
LK.gui.top.addChild(scoreBackground);
LK.gui.top.addChild(scoreTxt);
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