Code edit (1 edits merged)
Please save this source code
User prompt
When ball jumps make shadow smaller by peak of jump and back to normal when ball lands
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in or related to this line: 'var timeElapsed = currentTime - startTime;' Line Number: 98
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in or related to this line: 'var timeElapsed = currentTime - startTime;' Line Number: 98
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in or related to this line: 'var timeElapsed = currentTime - startTime;' Line Number: 97
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in or related to this line: 'var timeElapsed = currentTime - startTime;' Line Number: 98
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in or related to this line: 'var timeElapsed = currentTime - startTime;' Line Number: 97
User prompt
Adjust ball shadow as it bounces like Zberts
User prompt
Add under ball a shadow as per Zebet
Code edit (1 edits merged)
Please save this source code
User prompt
When level complete, reset Zbert to bottom tile, remove any balls from screen, set image to match new target colour
User prompt
When Zbert jumps make shadow smaller by peak of jump and back to normal when zebert lands
User prompt
move shadow down 50
User prompt
add elliptical shadow below Zbert. Attach shadow to Zbert so it moves when Zebert moves.
Code edit (2 edits merged)
Please save this source code
User prompt
adjust interaction between Ball and Zbert. set interaction point as middle of both the ball and zbert
Code edit (2 edits merged)
Please save this source code
User prompt
for zbert movement control change so while a key is pressed an held down zbert the direction move control is repeated Zbert will stop when key released
User prompt
for zbert movement control change so while a key is pressed an held down zbert keeps moving in that direction. Zbert will stop when key released
User prompt
change tile flip scoring so that score is only added when a tile is flipped to a new colour
Code edit (1 edits merged)
Please save this source code
Code edit (7 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught ReferenceError: x is not defined' in or related to this line: 'changeToText.x = x; // x coordinate as per requirement' Line Number: 394
User prompt
add a new text block to screen saying "Change To:" with x and y variables. do not touch score text
User prompt
Fix Bug: 'Uncaught ReferenceError: topRightImage is not defined' in or related to this line: 'var topRightImageGraphics = topRightImage.attachAsset('imageId', {' Line Number: 391
===================================================================
--- original.js
+++ change.js
@@ -142,11 +142,17 @@
var progress = timeElapsed / travelTime;
var arcProgress = Math.sin(progress * Math.PI);
self.x = startX + distanceX * progress;
self.y = startY + distanceY * progress - arcHeight * arcProgress;
+ // Adjust shadow size based on jump arc progress
+ self.shadowGraphics.width = width * 0.8 * (1 - arcProgress * 0.3);
+ self.shadowGraphics.height = height * 0.4 * (1 - arcProgress * 0.3);
} else {
self.x = targetX;
self.y = targetY;
+ // Reset shadow size when Zbert lands
+ self.shadowGraphics.width = width * 0.8;
+ self.shadowGraphics.height = height * 0.4;
LK.off('tick', zbertTickHandler);
self.isZbertJumping = false;
var tileBelow = game.grid.getTileAt(self.x, self.y + tileHeight);
if (tileBelow) {
beautiful landscape. starry sky, pastel colours, high definition, alien world. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A little cube person. 2 legs. back to viewer. facing 45 degrees to the right. multicoloured skin, cartoon style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle. metallic. light bevel on edge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Round furry, cute alien ball with big eyes. vivid colours, looking at 45 degrees to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
bright 3d present with bow, vivd colours. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Change to be vivid multicoloured cube
A simple Triangle, flat shaded, bevelled edges. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Speech bubble with expletive word in it. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
parachute. multicoloured. cartoon style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle with a single thin black border. flat shade. simple graphic. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
small star shape, vivid metallic blue, varying length spikes on star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.