Catch the Ball ver 2 – Android Studio Game Tutorial –




[Game3] Android Studio Game Tutorial – Demo –


Welcome to “Catch the Ball version 2” tutorial!
It’s been a long time since I shared Catch the Ball game.

If you haven’t checked yet, please try it first.

Catch the Ball - Android Studio Game Tutorial -


In version 1, we moved the box vertically and the balls horizontally.

In version 2, we’re going to do the opposite!

Although the basic functions are the same as version 1, I’m going to share some new game tricks:

・ Narrow the game frame when the box hits the black ball.
・ Expand the game frame when the box gets the pink ball.
・ The pink ball shows up every 10 seconds.
・ Not separate start, game, and result activities. (Use one activity.)

As always, I developed as simple as possible.
So, don’t hesitate to try it even if you’ve never developed any Android apps 🙂

Hope you enjoy!


If you get errors or weird situations, please leave a comment on YouTube to be able to share with everyone.



Would you enroll in this course and support Coding with Sara?

Catch the Ball is 100% FREE tutorial, and you can watch all the videos on YouTube.
Your enrollment in this course helps me to create more free contents and make better changes on my website. I’ll appreciate for your support 🙂

By enrolling the course, you can watch all the videos without ads.



Android Studio3.1.2
EmulatorGenymotion (Nexus4)


Working as a freelance programmer in Japan. I try to make coding as simple as possible. Hope you enjoy coding🙂