3 Trash Shot Example
default.xml
https://static.codehs.com/img/library/landscapes/grass.jpghttps://codehs.com/uploads/2bfaf5b2cb650e659067f495cea6af10https://static.codehs.com/img/library/objects/cleat.pnghttps://static.codehs.com/img/library/objects/soccerBall.pnghttps://codehs.com/uploads/e517c63fa6c746c5702aa6d8680cb1c7https://static.codehs.com/img/library/objects/soccerBall.pnghttps://static.codehs.com/img/library/objects/cleat.pnghttps://static.codehs.com/img/library/landscapes/grass.jpghttps://static.codehs.com/img/library/objects/soccerBall.png
Field Building Tools
Images
https://codehs.com/uploads/56ff2e2d9c62dc0e89712…https://codehs.com/uploads/2407d3a882f71516ca492…https://codehs.com/uploads/e986c902398dc7b622975…Set Paddle ImageSet Ball ImageSet Background ImageSet Goal ImageProgram
Output
Example
More
 
Reset Code
This student is viewing this assignment in English. View this page in English?

1 point

Here is an example. Play around with it, and try changing parts of the code to see what happens!

Use the left and right arrows on the keyboard or press the left and right arrows on the screen to move the paddle at the bottom of the screen.

Slides and Notes

About

JavaScript Graphics