Learning Java by Building Android Games
Android is one of the most popular mobile Operating systems presently. It uses the Java programming language. The problem is that most Android books assume the reader is already proficient with Java. This new and expanded second edition of Learning Java by Building Android Games shows you how to start building Android games from scratch. The difficulty level will grow steadily as you explore key Java topics, such as variables, loops, methods, object oriented programming, and design patterns, including code and examples that are written for Java 9 and Android P.
Offered by
Difficulty Level
Intermediate
Completion Time
25h48m
Language
English
About Book
Who Is This Book For?
Learning Java by Building Android Games is for you if you are completely new to Java, Android, or game programming and want to make Android games. This book also acts as a refresher for those who already have experience of using Java on Android or any other platform without game development experience.
Learning Java by Building Android Games
- About Book
- Who Is This Book For?
- Book Content
Book content
chapters • 25h48m total length
Java, Android & Games
Java Basics & An Introduction to Object Oriented Programming - Starting the Sub Hunter Game
Java Variables, Operators, Expressions and Android Debugging - Spawning a Sub to Hunt
Making Decisions with Java If, Else & Switch - Getting the Player's Input
The Android Canvas Class, Drawing to The Screen - Firing Depth Charges
While, Do While, For Loops, Break & Continue - Enhancing Sub Hunter Game
Java Methods - Finishing Sub Hunter Game
Object Oriented Programming - Starting the Pong Game
Interfaces, Threads & Exceptions - Coding the Pong Game Loop
Coding a class for the player's bat & Handling Input
Collisions, Sound FX and Supporting Different Android Versions - Finishing the Pong Game
Handling LOTS of Objects with Arrays - Welcome to Bullet HELL
Drawing with Bitmap Graphics - Coding the Player and Finishing the Game
Java Collections, The Stack, the Heap & Garbage Collection - Starting the Snake Game
Using Java Enumerations - Building the Snake Class
Android Localization, Hola! - Building a Retro Game Loop
Finishing the Snake Game
More Advanced OOP using Inheritance, Polymorphism & the Entity Component Pattern - Starting the Scrolling Shooter Game
Managing Sound Better & Pausing the Game
Coding The player's ship and Scrolling Stars
Persisting Data & Finishing the Game
Using More Advanced OOP with Singleton Pattern & the AssetManager Class - Starting the Platformer Game
Viewing Huge Worlds Through a Camera
Improving Performance with Object Pools & Animating with Sprite Sheets - Adding Enemies and Bullets
Handling Multiple Screens & Communicating Between Objects - Finishing the Platform Game
What next
Related Resources
Access Ready-to-Use Books for Free!
Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!