Skip navigation

Pop the balloons

Pop the balloons: Building a Game App with the Android SDK
Pop the balloons: Building a Game App with the Android SDK

I’ve defined my animations and my levels, and now I want the player to be able to score points. In my game logic, you score a point by touching a balloon, popping it, before it gets to the top of the screen. I’ll start in the Balloon class, where I’ll listen for a touch event on the object itself. If the balloon object is touched, it’ll set an internal flag, and then it’ll send a message through a callback method to the main activity. It’ll be up to the main activity to handle the event, and take some action.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 6m
Duration
87,504
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.