Code edit (13 edits merged)
Please save this source code
User prompt
Place white circles behind left and right arrows
Code edit (1 edits merged)
Please save this source code
User prompt
update speedtext when speed value changes
User prompt
added two buttons that allow you to increase or decrease drop speed within a range of 1 to 12. display current drop speed
Code edit (5 edits merged)
Please save this source code
User prompt
add text say "Drop" to spawn button
Code edit (1 edits merged)
Please save this source code
User prompt
if interaction equals side then stack cube to side not on top of cube interacted with
User prompt
when side interaction is deteacted then stop cube
User prompt
when a cube interacts from the side do not stack cubes
User prompt
whenn a cube collides with the side of a stacked cube them attach cube to side and not on top of cube
User prompt
when a cube interacts with the side of a stacked cube then attach to the side
Code edit (3 edits merged)
Please save this source code
User prompt
lock spawn button for 1 second after it have been pressed
User prompt
remove unused variables
Code edit (1 edits merged)
Please save this source code
User prompt
aad 1 second delay to start button when pressed
User prompt
remove double spawn when cube reaches bottom
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: otherCube is not defined' in this line: 'if (otherCube) {' Line Number: 6
User prompt
add a button at the top that triggers the cube spawn routine
User prompt
Fix Bug: 'ReferenceError: otherCube is not defined' in this line: 'if (otherCube) {' Line Number: 6
User prompt
add at top a button to spawn a cube
===================================================================
--- original.js
+++ change.js
@@ -118,9 +118,9 @@
break;
}
}
if (!stacked) {
- if (cubes[i].y + cubes[i].height >= 2732) {
+ if (cubes[i].y + cubes[i].height >= 2432) {
cubes[i].stack();
spawnCube();
} else if (cubes[i].y <= 300) {
LK.showGameOver();
arrow pointing left, transparent background, cartoon style, no shadow Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white square, 2d in-game asset, blank background, high contrast, no shadows, single game texture Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
vertical slider. 1000 pixels tall and 50 pixels wide. with numbers 1 at top and 10 at bottom. 2d in-game asset. blank background no shadows. high contrast Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white square, 2d in-game asset, blank background, high contrast, no shadows, single game texture Single Game Texture. With word DROP in middle Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
background image 2732 high x 2048 wide. high contrast, light cartoon image of colored stacked cubes. out in open fields. Single Game Texture. In-Game asset. 3d. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
stone square, bevelled edges. 2d in-game asset, blank background, high contrast, no shadows, single-game texture. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Triangle pointing left, transparent background, cartoon style, no shadow Single Game Texture. In-Game asset. 2d. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.