User prompt
Move the buttons a bit to the right. Also, they will be not be game mode buttons. They will be buttons when clicked on, it brings you to a new gui menu.
User prompt
The new buttons you added should be in the settings GUI area. They should be lined up vertical on the left side of the settings gui with 10 pixels in-between them.
User prompt
Forward the development of the game by adding new settings to the game.
User prompt
Put the positions of the settings gui back to what it was. The settings gui asset was also 1000 x 1000.
User prompt
Forward the GUI development of the game.
User prompt
Use lk.gui to make the settings gui a layer above the falling objects. Keep original positions
User prompt
Bug: The settings button gets small when rotating it.
User prompt
Make the settings gui a layer above the falling objects.
User prompt
redo the centering logic and make sure the settings gui is in the center of the screen.
User prompt
Center the settings gui by the midpoint
User prompt
Now just center it by the middle point of the settings gui. Currently, it is only centered by the vertical.
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'height')' in this line: 'settingsGUI.y = LK.gui.overlay.height / 2;' Line Number: 51
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'settingsGUI.x = LK.gui.overlay.width / 2;' Line Number: 48
User prompt
Don't center it by the game.width and game.height , center it by the size of the screen area.
User prompt
I want it to be centered in the center of the screen. It should be centered by the middle of the settings gui. Here is the size of the asset. 1250 x 1250
User prompt
The size of the settings gui asset is 1250 x 1250. Make sure you use that in consideration when you center the settings gui.
User prompt
Make the settings gui in the center of the screen
Code edit (1 edits merged)
Please save this source code
User prompt
Move the settings gui left
User prompt
Move the settings gui down
User prompt
Remove any multiplier to increase the size of the settings gui. The settings GUI will be the native resolution of the asset.
User prompt
The center of the settings GUI is not in the center of the screen.
User prompt
Make the center of the settings gui in the center of the screen
User prompt
Put the settings GUI in the middle of the screen.
User prompt
Make all of the settings GUI above the game
===================================================================
--- original.js
+++ change.js
@@ -37,12 +37,16 @@
// Add difficulty selection buttons
var easyButton = self.createAsset('easyButton', 'Easy Difficulty', 0.5, 0.5);
var normalButton = self.createAsset('normalButton', 'Normal Difficulty', 0.5, 0.5);
var hardButton = self.createAsset('hardButton', 'Hard Difficulty', 0.5, 0.5);
- easyButton.x = background.width / 4;
- normalButton.x = background.width / 2;
- hardButton.x = 3 * background.width / 4;
- easyButton.y = normalButton.y = hardButton.y = background.height / 2;
+ var buttonSpacing = 10;
+ var buttonYOffset = -background.height / 2 + closeButton.height + buttonSpacing;
+ easyButton.x = -background.width / 2 + easyButton.width / 2;
+ normalButton.x = easyButton.x;
+ hardButton.x = easyButton.x;
+ easyButton.y = buttonYOffset;
+ normalButton.y = easyButton.y + easyButton.height + buttonSpacing;
+ hardButton.y = normalButton.y + normalButton.height + buttonSpacing;
self.addChild(easyButton);
self.addChild(normalButton);
self.addChild(hardButton);
easyButton.on('down', function () {
Coffee droplet.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Have the coffee cup open at the top
High end Coffee Shop. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Coffee trail going vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Coffee splashing effect. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No Shadows.
Black circle with a bit of transparency.
Coffee Bean With Nothing Else. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Clock, Nothing else in the image.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A white particle trail, vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove the plus from this image
Red X. Nothing else.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
White rectangle, curved corners. Small black border. Simple, modern. Aspect ratio 1550 * 2500.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Include only the spike.
Remove the bottom part that is not coming from the center explosion
Rectangular coffee themed start button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove the random stuff below the question mark
Coffee themed button which has the text "gamemode". Make the aspect ratio of this button 5:1. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.