Code edit (3 edits merged)
Please save this source code
User prompt
move hooprim and hoopoutline 600 pixels up
User prompt
reduce bounce from rim speed
Code edit (6 edits merged)
Please save this source code
User prompt
delete ball shadow 1 second after it is thrown.
Code edit (3 edits merged)
Please save this source code
User prompt
stop rotating an moving the ball one second after it stopes moving on y direction.
Code edit (1 edits merged)
Please save this source code
User prompt
wait 2 seconds before game over.
Code edit (1 edits merged)
Please save this source code
User prompt
reduce in half the bounce of the ball
User prompt
make sure hoop is resositioning with backboards
User prompt
when ball starts do dim also reduce its size
User prompt
move score multiplier 50 pixels up
User prompt
add two rims on the most right and left points of the hoop outline
User prompt
Move score multiplier 50 pixels up
Code edit (1 edits merged)
Please save this source code
User prompt
on lk.on tick add a new if statement. if ball is moving downwards and y = 1000, then make ball stay in that exact position.
Code edit (2 edits merged)
Please save this source code
User prompt
on lk.on tick add a new if statement. if ball is moving downwards and y = 1000, then stop the ball and remove gravity.
User prompt
on lk.on tick add a new if statement. if ball is moving downwards and y = 1000, then stop the ball.
User prompt
in the game class, if ball is moving downwards and y is less than 1000, then stop the ball from moving and stop rotation progressibly.
User prompt
add code in game class that if ball is moving downards and y = 1000, then stop the ball movement.
User prompt
if ball is moving downards and y = 1000, then stop the ball movement.
User prompt
add check in game class. if ball is moving downwards and the position of the ball is lower than the hoop y position. then stop the ball movement.
===================================================================
--- original.js
+++ change.js
@@ -111,9 +111,9 @@
self.rightElement.y = self.hoopRimGraphics.y - 250;
self.rightElement.alpha = 0;
self.addChild(self.rightElement);
self.hoopOutlineGraphics = LK.getAsset('hoopOutline', 'Basketball Hoop Outline', 1, .5);
- self.hoopOutlineGraphics.y = self.hoopRimGraphics.y - 230 - 600;
+ self.hoopOutlineGraphics.y = self.hoopRimGraphics.y - 230;
self.hoopOutlineGraphics.alpha = 1;
self.hoopOutlineGraphics.tint = 0xbb502e;
self.hoopOutlineGraphics.rotation = Math.PI / 2;
self.addChild(self.hoopOutlineGraphics);
Cartoon. Grass background. Backyard. Top view. In game asset Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon. Wood board. In game asset. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
stars particles. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.