Code edit (2 edits merged)
Please save this source code
User prompt
Fix Bug: 'TypeError: Cannot set properties of undefined (setting 'alpha')' in this line: 'particle.alpha = 0;' Line Number: 234
Code edit (1 edits merged)
Please save this source code
User prompt
when ball stops moving, remove particles
User prompt
remove particles when ball stops moving and ball position is y < 1500
Code edit (1 edits merged)
Please save this source code
User prompt
when the shot ball reaches 0 speed, then delete particles
User prompt
chahnge logic of poins multiplier and start doubling when you score 5 in a row.
Code edit (3 edits merged)
Please save this source code
User prompt
start increasing the scoremultiplier after the player has scored 5 points.
User prompt
Move acore kultiplier 30 pixela down
User prompt
Remove gradient from hoop outline
===================================================================
--- original.js
+++ change.js
@@ -120,9 +120,8 @@
self.addChild(self.rightElement);
self.hoopOutlineGraphics = LK.getAsset('hoopOutline', 'Basketball Hoop Outline', 1, .5);
self.hoopOutlineGraphics.y = self.hoopRimGraphics.y - 30;
self.hoopOutlineGraphics.alpha = 1;
- self.hoopOutlineGraphics.tint = 0xbb502e;
self.hoopOutlineGraphics.rotation = Math.PI / 2;
self.addChild(self.hoopOutlineGraphics);
self.multiplierLabel = new Text2('', {
size: 200,
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.