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
24,467
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