"In this tutorial you'll create a reusable Score class that counts up to the new total when points are added (instead of jumping up to the new score). We'll cover graphics creation as well as code."
Read more along with code at : http://active.tutsplus.com/tutorials/effects/create-a-pinball-style-rolling-score-counter-class/