Need help with Brick Breaker game

I making this brick breaker game, but sometimes the ball moves either straight up and down or horizontally. This causes the player to be messed up. How do I make a rule that when this happens the ball changes directions?

Comments

Sign In or Register to comment.