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
84,813
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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.