User prompt
on tap set gamestarted true and hide starttext
User prompt
only spawn balls when gamestarted is true
Code edit (3 edits merged)
Please save this source code
User prompt
remove countdownclock
User prompt
on tap set gamestarted to true
Code edit (1 edits merged)
Please save this source code
User prompt
show text in centre of screen at start: Sort fruits into the right baskets
User prompt
make a boolean gameStarted and set to false at start
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'showText')' in this line: 'LK.gui.overlay.showText('Sort fruits into the right baskets');' Line Number: 259
User prompt
Fix Bug: 'Timeout.tick error: LK.showOverlayText is not a function' in this line: 'LK.showOverlayText('Sort fruits into the right baskets');' Line Number: 259
User prompt
Fix Bug: 'Uncaught TypeError: (intermediate value).set is not a function' in this line: 'LK.gui.center.addChild(new Text2('Sort fruits into the right baskets', {' Line Number: 266
User prompt
pause game at start and show text in center of screen: Sort fruits into the right baskets
Code edit (1 edits merged)
Please save this source code
User prompt
make particle explosions spread more
User prompt
se backgroundgraphics alpha to 0.6
Code edit (1 edits merged)
Please save this source code
User prompt
create an object to hold a background image below everything else on stage
User prompt
scale balls 1.5
User prompt
scale berries 2
User prompt
consider balls' bounding box when checking for edge collisions
User prompt
move blue goal so its bottom edge aligns with bottom of stage
User prompt
move yellow goal so it's right edge aligns with right side of stage
User prompt
move green goal so it's fully visible on stage
Code edit (1 edits merged)
Please save this source code
User prompt
move red goal so it's fully visible on stage
===================================================================
--- original.js
+++ change.js
@@ -185,8 +185,9 @@
startText.y = 2732 / 2;
self.addChild(startText);
startText.on('down', function () {
gameStarted = true;
+ startText.visible = false;
});
var redGoal = self.addChild(new RedGoal());
redGoal.x = 2048 / 2;
redGoal.y = redGoal.height / 2;
raspberry Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
lemon slice. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
black currant. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
green apple. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
yellow plastic tray. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
green plastic tray. topdown view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
blue plastic tray. topdown view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
red plastic tray. topdown view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
top down forest clearing with small bushes.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
lighter color blue.
A little farmer that is comically square shaped.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.