Help!

I need to make a ball that can roll around with the press of arrow keys and bounce on bounce pads. i have visited sites such as Emanuele Feronto which gives me scripts which just make a super bouncey ball, which doesn't roll.

Actionscript.org gave a more promising script that was controllable with arrow keys and could roll to some extent, but it still bounced like crazy, and worked badly when i translated it to as3.

This is for a platformer style game, so it should be able to roll up stuff like slopes.

Also, one last request: If anybody ever responds to this thread, please take the time to explain your code if you can. Unexplained Trigonometry really freaks me out.

If someone gives me a satisfactory answer, I am prepared to add his name in the credits.

Thanks in advance...