2D Basketball
Objective: Make a basketball that has multiple functions such as bouncing around the screen, changing colors, and changing the speed all by pressing different buttons.
Problem: When the basketball bounces off the wall it still rotates in one direction and makes its look very unrealistic.
Solution: I made the basketball switch the rotation depending on the direction in which the basketball is traveling to.