Code edit (1 edits merged)
Please save this source code
User prompt
Insert place sound at //Play sound here
Code edit (1 edits merged)
Please save this source code
User prompt
Migrate to the latest version of LK
User prompt
Make sure to also send score to LK.setScore
User prompt
Fix Bug: 'Argument 1 ('shader') to WebGLRenderingContext.shaderSource must be an instance of WebGLShader' in this line: 'LK.on('tick', function () {' Line Number: 140
User prompt
Make high score use impact
User prompt
When moving the new plate based on left or right, also add or subtract the same value to the x of overhang plate as was added to new plate
User prompt
When moving the new plate based on left or right, also add the same value to the x of overhang plate
User prompt
if the overhang is less than 10 flash the screen white for 200ms
User prompt
Make the close overhang test <= 10 rather than <= 2
User prompt
if overhang is less or equal to 2, align the new plate with the plate below it and set overhang to zero
User prompt
When moving x of new plate based on right or left attachment also move the overhangPlate by the same amount.
User prompt
make plates 50% faster
User prompt
Make plates move 2x as fast
User prompt
Remove console log statements
User prompt
When setting color, also calculate a new background color for the game with v being 1/3 of that of the plate
User prompt
in update color use the HSV method such that the plates have 32 colors in total representing the full rainbow
User prompt
Add a HSV color generator method to the Plate class
User prompt
Update the colors array to be a perfect hue shifted rainbow with 32 pre calculated colors that represents the full rainbow
User prompt
Update the colors array to be a perfect hue shifted rainbow with 32 pre calculated colors
User prompt
Update the colors array to be a perfect hue shifted rainbow with 32 colors
User prompt
Update the colors array to have 32 colors that are a perfect pastel rainbow
User prompt
Update the colors array to have 32 colors of the rainbow
User prompt
Move the colors array outside the updateColors method
===================================================================
--- original.js
+++ change.js
@@ -77,8 +77,9 @@
};
self.slide = function () {
self.x = 2048 + self.width / 2;
};
+ self.hasOverlapped = false;
});
/****
* Initialize Game