# Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you.

## Presentation on theme: "Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you."— Presentation transcript:

Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you have time, ask your partner some of your own questions you’re stuck on.

BounceOffPaddle “...what happens to your ball when it touches a paddle. You must implement this as a function (a command block). You should name this block BounceOffPaddle” “Each time your ball sprite touches a paddle, it will reverse its direction ……” “….and you will add a random variance in the direction by turning between -15 and 15 degrees from the reversed direction”

BounceOffPaddle approach 90-90 0 180 90-90 0 180 45 -135

BounceOffPaddle block Let’s now walk through some details of how this is done What type of block is this? How does the ball’s direction change? Using what BYOB block? By how many degrees? When will this block be used? (in relation to the ball’s position)

Download ppt "Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you."

Similar presentations