⌨️ Add a variable to control speed in the x-direction
You’re now using xSpeed
to control the circle’s speed in the x-direction.
Trust us, this will make it easy to reverse direction when the circle hits things (like… a wall!)
You’re now using xSpeed
to control the circle’s speed in the x-direction.
Trust us, this will make it easy to reverse direction when the circle hits things (like… a wall!)