Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (8 edits merged)
Please save this source code
User prompt
add a random rotation to flowers when spawning
Code edit (2 edits merged)
Please save this source code
User prompt
Please fix the bug: 'ReferenceError: finalScaleX is not defined' in or related to this line: 'if (flowerGraphics.scaleX < finalScaleX) {' Line Number: 62
User prompt
also when spawning Flower, make them grow in size from 0 to their final size
User prompt
when spawning Flower, make them fade in with an alpha anim from 0 to 1, (don't use tween for that)
Code edit (7 edits merged)
Please save this source code
User prompt
when spawning Flower, make them fade in with an alpha anim from 0 to 1
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
in self.updateCornerPipeThirdPhase add logs for self.waterH x, y and dir
User prompt
add plenty of logs in updateCornerPipeFirstPhase and updateCornerPipeThirdPhase
Code edit (8 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Timeout.tick error: Cannot read properties of undefined (reading '0')' in or related to this line: 'var tileStr = level[row][col];' Line Number: 1149
Code edit (1 edits merged)
Please save this source code
User prompt
in flower class, make size random from 100% to 100% + sizeRatioRange %
Code edit (1 edits merged)
Please save this source code
User prompt
in flower class make position random around x,y within positionOffset range
===================================================================
--- original.js
+++ change.js
@@ -829,9 +829,9 @@
} else {
self.updateCornerPipeThirdPhase(progress, thirdSize, true);
}
} else if (progress < thirdSize * 2) {
- self.updateCornerPipeSecondPhase(progress, thirdSize);
+ //self.updateCornerPipeSecondPhase(progress, thirdSize);
} else {
// 0 or PI/2
if (Math.abs(self.pipeContainer.rotation) % (2 * Math.PI) < 0.1 || Math.abs(self.pipeContainer.rotation - Math.PI / 2) % (2 * Math.PI) < 0.1) {
self.updateCornerPipeThirdPhase(progress, thirdSize);
@@ -847,8 +847,9 @@
if (self.waterV) {
log("updateCornerPipeFirstPhase: Making waterV visible. Current progress:", progress, "Third size:", thirdSize);
self.waterV.visible = true;
self.waterV.height = reverted ? progress - thirdSize * 2 : progress;
+ self.waterV.scale.y = reverted ? -1 : 1;
log("updateCornerPipeFirstPhase: Updated waterV height to:", self.waterV.height);
}
};
self.updateCornerPipeSecondPhase = function (progress, thirdSize) {
@@ -867,8 +868,9 @@
if (self.waterH) {
log("updateCornerPipeThirdPhase: Making waterH visible. Current progress:", progress, "Third size:", thirdSize, " Tile Rot=", self.pipeContainer.rotation);
self.waterH.visible = true;
self.waterH.width = reverted ? progress : progress - thirdSize * 2;
+ self.waterV.scale.x = reverted ? -1 : 1;
log("updateCornerPipeThirdPhase: Updated waterH width to:", self.waterH.width);
log("updateCornerPipeThirdPhase: waterH position x:", self.waterH.x, "y:", self.waterH.y, "dir:", self.waterH.dir);
// 0
if (Math.abs(self.pipeContainer.rotation) % (2 * Math.PI) < 0.1) {
straigth zenith view square light wooden pallet. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
straigth zenith view square wooden pallet with big screws in each corner Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
simple yellow rating star. Modern video game style
tileSlide
Sound effect
levelWon
Sound effect
tileBlocked
Sound effect
fountain
Sound effect
waterInPipe
Sound effect
bgMusic
Music
logoBounce
Sound effect
levelStart
Sound effect
bgMusic2
Music
flowerPop
Sound effect
roundResult
Sound effect
gameWon
Sound effect
resetSound
Sound effect
birds
Sound effect
birds2
Sound effect
birds3
Sound effect