I was looking around scratch and the Internet for a formula to calculate reflection off of a flat surface. But I found no helpful source except for some complex equations. So I decided to sit down with a pencil and a piece of paper and find the formula myself. This is what I came up with. Nothing too fancy... But It does a perfect job very quickly so I will be using it in one of my next games. Press space to begin. You can only adjust tilt in between bounces. REMEMBER! It's not perfect. You should probably download.