User prompt
When the shopgui is opened, add a black stroke of 10 money text
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'stroke')' in or related to this line: 'scoreTxt.style.stroke = 0x000000; // Set stroke color to black' Line Number: 139
User prompt
When the shopgui is opened, make sure the money text has a black stroke of 10
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'fill')' in or related to this line: 'scoreTxt.style.fill = 0x000000; // Change text color to black' Line Number: 139
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'fill')' in or related to this line: 'scoreTxt.style.fill = 0x000000; // Change text color to black' Line Number: 139
User prompt
When the shopgui is opened, change the color of the text to black.
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'fill')' in or related to this line: 'scoreTxt.style.fill = 0xFFFFFF; // Revert text color to white' Line Number: 137
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'fill')' in or related to this line: 'scoreTxt.style.fill = 0x000000; // Change text color to black' Line Number: 143
User prompt
Please move the money text to the top middle within the shopgui when the shopgui isj opened. For this and future reference, the shop gui which is in the middle of the screen is 1650 x 2500 pixels. Offset it by 25 pixels from the top. Please change the color of the text to black when it is in the shopgui. Make sure the color and position is reverted back to the starting position once the shopclose button is clicked. Make sure the money text is an image layer above the shopgui. Thank you.
User prompt
Please move the money text to the top middle within the shopgui when the shopgui isj opened. For this and future reference, the shop gui which is in the middle of the screen is 1650 x 2500 pixels. Offset it by 25 pixels from the top. Please change the color of the text to black when it is in the shopgui. Make sure the color and position is reverted back to the starting position once the shopclose button is clicked. Thank you.
User prompt
Please move the shop close button to the top right within the shopgui. For this and future reference, the shop gui which is in the middle of the screen is 1650 x 2500 pixels. Please offset it by 25 pixels from the top and 25 pixels from the right.
User prompt
Please move the shop close button to the top right within the shopgui. For this and future reference, the shop gui which is in the middle of the screen is 1650 x 2500 pixels.
User prompt
Please move the shop close button to the top right of the shop gui
User prompt
I want you to change how the shopgui is closed. Instead of closing once it is clicked anywhere, instead create a new asset called shopGuiClose which closes the shopgui when it is closed. Make sure the shop close button is above the shopgui image layer.
User prompt
I want you to change how the shopgui is closed. Instead of closing once it is clicked anywhere, instead create a new asset called shopGuiClose which closes the shopgui when it is closed.
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'stroke')' in or related to this line: 'scoreTxt.style.stroke = 0x000000;' Line Number: 210
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'stroke')' in or related to this line: 'scoreTxt.style.stroke = 0x000000;' Line Number: 209
User prompt
Add a 10 stroke to the money text and make sure it stays even after the total is updated
User prompt
Add a 10 stroke to the money text
User prompt
Make it so the shop gui can only be opened when it is clicked when hovering over the shop button
User prompt
Make it so the fishingnet is invisible when any shopgui is open.
User prompt
Make it so an asset called "ShopGUI1" which is in the middle of the screen and which is the size of the screen is visible after the shop button is clicked. Make sure this is different from the ShopButton.
User prompt
Make it so an asset called "ShopGUI1" which is in the middle of the screen and which is the size of the screen is visible after the shop button is clicked. Make sure this is different from the ShopButton. Make sure that you use a click event, not a hover event please. Make sure the shopgui1 is at the highest image layer.
User prompt
Make it so an asset called "ShopGUI1" which is in the middle of the screen and which is the size of the screen is visible after the shop button is clicked. Make sure this is different from the ShopButton. Make sure that you use a click event, not a hover event please.
User prompt
So the code that you just added made it so the shopgui1 is visible when the mouse is hovering over the shopbutton. Please change it so the shopgui1 is visible after the shop button is clicked.
===================================================================
--- original.js
+++ change.js
@@ -98,21 +98,23 @@
x: 1024,
y: 1366
}));
shopGUI.visible = false;
- // Create a ShopGuiClose asset and make it visible when the shopGUI is visible
- var shopGuiClose = shopGUI.addChild(LK.getAsset('ShopGuiClose', {
+ // Create a ShopGuiClose asset and make it visible when the shop button is clicked
+ var shopGuiClose = game.addChild(LK.getAsset('ShopGuiClose', {
anchorX: 0.5,
anchorY: 0.5,
- x: 0,
- y: 0
+ x: 1024,
+ y: 1366
}));
shopGuiClose.visible = false;
shopGuiClose.down = function (x, y, obj) {
shopGUI.visible = false;
+ shopGuiClose.visible = false;
self.visible = true; // Make the fishingnet visible again when the shopgui is closed
};
shopGUI.visible = true;
+ shopGuiClose.visible = true;
self.visible = false; // Make the fishingnet invisible when the shopgui is open
}
};
});
Water themed gui icon that has the text "Shop" on it. 8-bit art style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Big red X button for a game gui. 8-bit art style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit art style circular fishing net without a handle.. 8-bit art style
A bright green + symbol for a game GUI element. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. 8-bit art style