User prompt
Fix Bug: 'Timeout.tick error: Can't find variable: startTime' in or related to this line: 'var currentTime = Math.floor((Date.now() - startTime) / 1000);' Line Number: 554
User prompt
Add a timerText at the top left
Code edit (4 edits merged)
Please save this source code
User prompt
Donβt do it, Just tell me how can I make the stocknumber text position fixed ? Independent from Texts lenghts
User prompt
Just tell me how can I make the stocknumber text position fixed ? Independent from Texts lenghts
User prompt
So how can I make the stocknumber text position fixed ? Independent from Texts lenghts
Code edit (5 edits merged)
Please save this source code
User prompt
Fix Bug: 'Script error.' in or related to this line: 'LK.gui.roght.addChild(stockValueText);' Line Number: 400
Code edit (1 edits merged)
Please save this source code
User prompt
Add a timerIcon at the left of the balance icon
Code edit (3 edits merged)
Please save this source code
User prompt
Disable sell button when player has no stocks
Code edit (1 edits merged)
Please save this source code
Code edit (11 edits merged)
Please save this source code
User prompt
make stockValueText follow the current segment y
Code edit (6 edits merged)
Please save this source code
User prompt
move the stock price to the left center
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Add a new text2 named socksNumber, in the same way as balanceText
Code edit (1 edits merged)
Please save this source code
Code edit (18 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught ReferenceError: BalanceIcon is not defined' in or related to this line: 'var balanceIcon = game.addChild(new BalanceIcon());' Line Number: 307
User prompt
Add a new stockIcon asset similar to balanceIcon, place it at the right of balanceIcon
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -365,11 +365,11 @@
size: 100,
fill: "#ffffff",
anchorX: 0.5
});
-stocksNumber.anchor.set(1, -0.7);
-stocksNumber.x = game.width - stocksNumber.width - 20;
-LK.gui.top.addChild(stocksNumber);
+stocksNumber.anchor.set(0.5, -0.7);
+stocksNumber.x = game.width - stocksNumber.width / 2 - 20;
+LK.gui.topRight.addChild(stocksNumber);
// Create a text display for the verticalSlideAmount labeled VSA
var verticalSlideAmount = 0;
var vsaText = new Text2('', {
size: 50,
A Technical dark background. Nothing just a gradiant of colors from black to dark blue. Theme : stock market. background
A modern clean empty rectangular button without borders. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
without shadow
a basic empty ui popup with a black background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.