Bouncing Ball
- Jessi Cruz
- Oct 24, 2019
- 1 min read
I created a second variable, using the same coding for xPos and xSpeed to create the y direction of the ball.
Then I wrote a line of code that, no matter which edge it touched, its fill RGB value would randomly change.
Comentários