
Build four complete Android games from scratch in Android Studio using Java. Learn XML layout, custom view drawing, game loop, touch input, collision, animation, sound, and SharedPreferences high scores.
Create an empty Android Studio project in Java, design a fullscreen main activity with vertical and horizontal linear layouts, image buttons for play and audio, and onClick handlers.
Develop the main activity by configuring shared preferences for audio state and keeping the screen on, then create a Kembu custom view to render paddle and ball with collisions.
Create a custom view named Kembu by extending view to draw the paddle and ball, use bitmaps, and handle animation, collision detection, and points display.
Build an Android game with a ball and paddle, canvas drawing, velocity-based movement, wall and paddle collisions, score and life updates, and a handler-driven loop leading to game over.
Learn to detect touch events in an Android Studio Java game, handle motion event actions, capture touch coordinates, and move the ball by the finger's delta between consecutive touches.
Design the xml layout for the gameover activity, arranging a horizontal layout with restart and exit image buttons, and a vertical section showing the trophy and points and highest score.
Implement the GameOver activity in a Java-based Android game, display the final score, save and show the high score using shared preferences, and provide restart and exit options.
Design and develop the main activity for an Android game in Android Studio using Java. Create a play button, launch the game activity with intents, and apply fullscreen styles.
Develop a GameActivity in Android Studio, initialize a music player, and create a view to draw objects on the canvas with onDraw. Clean up by stopping and releasing the music.
Create the Kembu class by extending PUE, set up bitmap resources and screen dimensions, and initialize game state with a handler to update and draw objects on the canvas.
Override onDraw in Android Studio to render background, bullets, and a moving bird on canvas, updating x/y positions with speed, and drive a loop with a handler.
Override onTouchEvent to read motion events, detect collisions within board edges, update points, then launch the game over activity with points as an extra and finish the current activity.
Design the game_over activity by creating the game_over layout with a horizontal linear layout showing points and level using TextView elements, plus an image button that restarts the game.
Create the gameover activity to display points and restart the game by retrieving the 'points' extra from the intent and launching the main activity.
Design and develop the main activity for an Android game by configuring a linear layout with a start image button and an intent to launch the game activity.
Create a game view by extending view class, track points, screen width and height, touch coordinates, initialize bitmaps and balloons, and drive a 30 ms handler refresh loop for updates.
Create balloon classes with coordinates and speed, implement random left-right spawning, extend a second shootable balloon type, instantiate balloons and bullets, and update points when hit while initializing paint objects.
Create a bullet class in Java, declare two coordinates and speed, implement a public constructor, and place the bullet at the center bottom above the tank with velocity 40.
Override onDraw in Android Studio and Java to animate balloons on a canvas by updating positions, reversing velocity at edges, and redrawing with a handler-driven game loop.
Override onTouchEvent to handle touches, spawn bullets (up to four on screen), move and draw them by decreasing y with velocity, and remove off-screen bullets, then detect collisions.
Implement collision detection between bullets and balloons by checking coordinates within balloon bounds, award one point per hit, with five to win and minus three to lose via intents.
Create the game over xml with a centered linear layout and restart image button, and implement GameOver to display win or lose text from extras and restart the main activity.
Create an Android game project in Android Studio using Java, designing a simple XML layout with an image button, handling click events, and preparing assets for a canvas-based game.
create a new class named Gimple that extends PUE, set a bitmap background on a canvas with drop method, and start game activity via an intent, finishing the main activity.
Make the background image fully fit the canvas by computing screen width and height via display size, then use a Rect from 0,0 to width,height to render the image.
Create a frame-by-frame flying duck animation in Android Studio using bitmap frames, canvas and a handler with postDelayed to loop and reappear from the right with random position and velocity.
Learn to apply object oriented programming by creating a duck class, managing multiple ducks with a dynamic list, and animating them efficiently in Android Studio Java.
Create a new duck class extending the existing duck, implement a nine-frame animation, override methods, and initialize random position and velocity for the new duck; this prepares for shooting mechanic.
Demonstrates building a shooting mechanism in android studio using ball and target bitmaps, handling touch events to aim, drag, and shoot, with a 75% screen line for valid shots.
Develop collision detection between a ball and ducks by enforcing four conditions and implementing the logic in code for two duck types; next, explore scoring, health, and sound effects.
Track score and life in an Android game, incrementing on hits and decreasing on screen edge, and handle game over with an intent passing the final score; implement sound effects.
Design a game over activity in Android Studio and Java, display the final score from an intent extra, and restart to the main activity.
Important Note:
All source code provided in this course remains valid and compatible with the latest versions of Android Studio and Android SDKs.
Please note, however, that the course was originally created using an earlier version of Android Studio and the Android SDK.
If your goal is to:
Learn game development logic from the ground up,
Build a game loop from scratch,
Create your own custom game framework to develop future games more quickly and efficiently,
And you wish to code entirely in Java without relying on external game engines,
— then this course is ideal for you. Otherwise, we recommend exploring other courses that better match your needs.
Hi, welcome to the Android Game Development Course. Here, we'll be creating these 4 games from scratch, using only Android Studio and Java: 1) Retro Ping Pong game, 2) Bird Hunt game 3) Balloon Shooter game and 4) Duck Hunt game. I only except you know a little bit of Java programming like using variables, loops, objects, etc. Other than that, I expect that you have the latest version of Android Studio installed on your Pc.
Some Amazing Reviews From Our Learners
- Very good introduction to game development without other tools. Haven't done anything with Touch-Control and it was nicely presented by Sandip. The translation/transsript is not allways clear but if you have basic/good English Skills it should be easy to follow. Overall thumbs up and 5 stars.
- Detailed descriptions of how to work within Android. Excellent so far!
- Wow, very good course for an all level of developer where you can learn about canvas, working with velocity, the fun of doing coding in a logical way with animation. I enjoyed and learned a lot from this game development tutorial.
- Good course content and easy to understand for the beginners.
- Excellent Course
- excellent course for the people who like to learn how to build mobile game. Eagerly waiting for the more courses in this topic.
- Also explain on shared preferances so it'll be easier to understand.
Who am I? and Why should you learn from me?
I am Sandip Bhattacharya, and I published more than 10 android games on Google Play. Moreover, I have successfully trained thousands of Udemy students on game development in my other game development courses on Udemy. So, I happen to know about game programming and some experience to teach you how to make an android game from scratch. In this course, I'll teach you how to make four complete games from start to finish, step by step. You'll learn about XML layout designing, how to create a custom View class, override onDraw() method, how to create an efficient game loop in Android with Java, how to write game logic, draw and animate Bitmap images, detect Touch Events, handle Collision between objects, play Sound Effects, display Score and Health Indicator, save Personal Best score using Android SharedPreferences class, add features like Restart and Exit in GameOver screen and much more.
What will you learn in your course?
You'll be able to build 4 complete games in less than 5 hours
Learn to create efficient game loop in Android
How to animate objects in Android
Building android games by writing code in Android Studio and Java, without using any 3rd party Game Engine
You'll be able to brush-up your Java skills
Learn Android Game Development Fundamentals
You'll have a clear understanding of the Core Concepts behind a 2D Android Game
Are there any course requirements or prerequisites?
You should have latest version of Android Studio installed
You should have some experience in Android Development using Android Studio
Some basic programming experience like variables, conditions, loops, methods, class, object etc.
You don't need prior knowledge in Android Game Development
Who are the ideal students for this course?
If you want to learn the Core Concepts of 2D Game Development like making an infinite Game Loop, Animation, Touch Event, Collision Detection, Playing Sound effects, Health, Displaying Score and Saving Personal Best etc. then this course is right for you
This course is perfectly suitable for Absolute Beginners interested in making Android Games from scratch
Beginner to Android Game Development
Beginner to Android development
Beginner to Java programming
If you're curious about building an android game from scratch using only Android Studio and by writing code in Java, without using any 3rd party Game Engine
I hope you'll enjoy my hands-on teaching style. We have a lot to cover. So, Enroll now and start making games with Android Studio and Java.