Skip navigation

Add animation logic

Add animation logic: Building a Game App with the Android SDK
Add animation logic: Building a Game App with the Android SDK

Now it's time to add animation to my game. Each balloon will rise from the bottom of the screen to the top. I'll use a class named ValueAnimator from the Android SDK. This class doesn't actually animate visual objects on its own. Instead, you provide a set of values and a duration, and then start the animation. The ValueAnimator then dispatches a series of events over the requested amount of time. Each event reports a new value, and you can then apply that value to an object property.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 6m
Duration
42,139
Views
Show More Show Less
Skills covered in this course
Developer Games Mobile Apps Android

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now