SunFounder ESP32 Starter Kit
• Now you can rotate the potentiometer to see if the Paddle can move left and right on the stage.
2. Ball sprite
The effect of the ball sprite is that it moves around the stage and bounces when it touches the edge; it bounces down if
it touches the block above the stage; it bounces up if it touches the Paddle sprite during its fall; if it doesn’t, the script
stops running and the game ends.
• Add Ball sprite.
• When the green flag is clicked, set the angle of the Ball sprite to 45° and set the initial position to (0, -120).
4.19. 2.16 GAME - Breakout Clone 603