User prompt
Move ScoreBack 30 pixels left and 40 pixels down
User prompt
Move Scoreback another 400 pixels to the left, make it 1.3 times taller
User prompt
move Scoreback 600 pixels to the left
User prompt
I cant see Scoreback. Place it behind the real score and make it around 1/3 screen long
User prompt
Place ScoreBack behind score
User prompt
Change Score's font to Helvetica
User prompt
set score to 10000 for now
User prompt
lower score by 20 pixels
User prompt
add score on top of the screen
User prompt
What are you doing. Its not rotated
User prompt
Rotate 2nd background image by 90 degrees to the right
User prompt
rotate 2nd background 90 degrees
User prompt
1.5 times smaller
User prompt
Another 2 times bigger
User prompt
Good. Now make brown board 3 times bigger
User prompt
Stop stretching brown board, keep it 1 to 1
User prompt
Dont stretch brown board image, make it 20% smaller
User prompt
Keep BrownBoard image ratio to 1 to 1, make it the same size as the grid
User prompt
Add brown board above all other layers
User prompt
No, place Brown background behind the grid, but in front of Background
User prompt
Place Brown Background in the middle of the screen
User prompt
Place BrownBackground in front of everything else
User prompt
Make brown background 5 times larger, place it on top of the screen
User prompt
add brown background above everything
User prompt
Remove player entirely
/**** * Initialize Game ****/ //<Assets used in the game will automatically appear here> var game = new LK.Game({ backgroundColor: 0x000000 //Init game with black background }); /**** * Game Code ****/ // Add brown background to the game var brownBackground = LK.getAsset('BrownBackground', { anchorX: 0.5, anchorY: 0.5, x: 2048 / 2, y: 2732 / 2, width: 2048 * 5, height: 2732 * 5 }); game.addChildAt(brownBackground, game.children.length); // Add 2nd background to the game var background2 = LK.getAsset('2ndBackground', { anchorX: 0.5, anchorY: 0.5, x: 2048 / 2, y: 2732 / 2, width: 2048 * 1.5 * 1.2, // Increase the width by 20% height: 2048 * 1.5 * 1.2 // Increase the height by 20% }); game.addChild(background2); // Add main background to the game var background = LK.getAsset('Background', { anchorX: 0.5, anchorY: 0.5, x: 2048 / 2, y: 2732 / 2, width: 2000, height: 2000 }); // Add background after adding the squares to the game for (var i = 0; i < gridSize; i++) { for (var j = 0; j < gridSize; j++) { var square = LK.getAsset('SquareWhite', { anchorX: 0.5, anchorY: 0.5, x: startX + i * squareSize, y: startY + j * squareSize, scaleX: 2.04, // Reduce the scaleX by 15% scaleY: 2.04 // Reduce the scaleY by 15% }); square.down = function (x, y, obj) { this.destroy(); }; game.addChild(square); grid.push(square); } } game.addChild(background); // Initialize an 8x8 grid of SquareWhite in the middle of the screen var grid = []; var gridSize = 8; var squareSize = 225.28 * 0.95; // Reduce the size of the grid by 5% var startX = (2048 - gridSize * squareSize) / 2 + 110; var startY = (2732 - gridSize * squareSize) / 2 + 90; for (var i = 0; i < gridSize; i++) { for (var j = 0; j < gridSize; j++) { var square = LK.getAsset('SquareWhite', { anchorX: 0.5, anchorY: 0.5, x: startX + i * squareSize, y: startY + j * squareSize, scaleX: 2.112, scaleY: 2.112 }); square.down = function (x, y, obj) { this.destroy(); }; game.addChild(square); grid.push(square); } }
===================================================================
--- original.js
+++ change.js
@@ -14,12 +14,12 @@
anchorX: 0.5,
anchorY: 0.5,
x: 2048 / 2,
y: 2732 / 2,
- width: 2048,
- height: 2732
+ width: 2048 * 5,
+ height: 2732 * 5
});
-game.addChild(brownBackground);
+game.addChildAt(brownBackground, game.children.length);
// Add 2nd background to the game
var background2 = LK.getAsset('2ndBackground', {
anchorX: 0.5,
anchorY: 0.5,
Rounded square with fog inside it. Simplistic. Single Game Texture. In-Game asset. 2d. Blank background. Low contrast. No shadows.
square with Neon dark blue borders, simple, cyberpunk, 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
square with Neon dark blue borders, simple, futuristic, 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Light blue Circle Light 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Sci-fi Vault dark Concrete wall texture 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Arrow "backwards" or "undo". White arrow, no background, 2d,. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Scifi Square with thin, rounded corners. Dark grey. 2d. Single Game Texture. Little blue outline
White triangle with sharp edges. White fill, thin outline, 2d, no shadows, blank background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.