User prompt
Inside game tick method set ball shadow y to ball y + ball height
User prompt
In game tick method set ball shadow y to ball y + ball height
User prompt
In tick set ball shadow y to ball y + ball heiggt
User prompt
Set ball shadow y to ball y + ball height
User prompt
In ball move scale ball 1/5 as fast
User prompt
In ball move scale the ball 1/10 as fast
User prompt
After setting has thrown to false in tick, scale ball at 1,1
User prompt
In move if has thrown is true scale ball towards .8
User prompt
Move has scored and has bounced properties to ball class
User prompt
Create the has thrown property on ball
User prompt
Don’t allow ball down if ball has thrown is true
User prompt
In ball move if y is smaller than zero, subtract a small value from ball scale
User prompt
Move up multiplierLabel by 30 px
User prompt
Move up multiplierLabel by 50 px
User prompt
Increase multiplier label by 30%
User prompt
Make the off screen check left or right factor in ball with. Ball should be fully off screen
User prompt
Make the off screen check left or right factor in ball wityh
User prompt
If ball flies off screen to the left or right without player having scored call game over
User prompt
If ball flies off screen and has scored is false show game over
User prompt
Don’t change speed y inside the hasbounced if
User prompt
Where show game over is called if bounced is false. Bounce the ball instead of game over and set bounced to true
User prompt
Don’t set has bounced in tick
User prompt
Add a variable to Game that indicates if the ball have bounced or bot
User prompt
Where calling showGameOver let the ball bounce once
User prompt
Let the ball bounce once
===================================================================
--- original.js
+++ change.js
Basketball, cartoon style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
4:3 Simple rectangle white outline. Black background
Skull explosion
Wide Single Orange metal bar lying down Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast. —ar 2:1
https://kagi.com/proxy/basketball_backboard.png?c=iNrrnnUOe99nVfDGJsYBLujiaX2Hu-zxBFRkvLEyXdRnJ8cU3RjcAYbR-o12E923qVNGy1CEGrQG87ogCD3yUarJdZYt5R03mmEMb7Jrh-8%3D blank backboard Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Indoor stadium seen from court Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast. --no goal