left and right keys to move space to switch costume
It is essential that the ball starts at Y=0, because if it starts on the ground, it will have no velocity when it touches the ground, thus it will not bounce. I wrote this myself, from scratch (bad pun), from a blank program. Please no negative comments. I can't see anything to criticize, if you get stuck in the wall, you get ejected after .5 seconds.