Ebook: Learning Java by Building Android Games
Author: John Horton [John Horton]
- Year: 2015
- Publisher: Packt Publishing
- Language: English
- epub
Get ready for a fun-filled experience of learning Java by developing games for the Android platform
In Detail
Android is the fastest growing operating system (OS) with one of the largest installed bases of any mobile OS. Android uses one of the most popular programming languages, Java, as the primary language for building apps of all types. So, you should first obtain a solid grasp of the Java language and its foundation APIs to improve the chances of succeeding as an Android app developer.
This book will show you how to get your Android development environment set up and you will soon have your first working game. The difficulty level grows steadily with the introduction of key Java topics such as loops, methods, and OOP. You'll then use them in the development of games. You will learn how to build a math test game, a Simon-like memory game, a retro pong-style game, and for the grand finale, a Snake-style, retro arcade game with real Google Play leaderboards and achievements. The book has a hands-on approach and is packed with screenshots.
What You Will Learn
- Set up an efficient, professional game development environment in Android Studio
- Build your very own Android UI using easy to-use tools in Android Studio
- Add real-time interaction with Java threads and implement locking/handling screen rotation, pixel graphics, clicks, animation, sound FX, and many other features in your games
- Explore object-oriented programming (OOP) and design scalable, reliable, and well-written Java games or apps on almost any Android device
- Build and deploy a graphical pong-style game using advanced OOP concepts
- Explore APIs and implement advanced features such as online leaderboards and achievements using Google game services
- Make your game compelling to be the next big hit on Google Play market with a content update strategy and in-game marketing
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.