Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Learning Java by Building Android Games
Learning Java by Building Android Games

Learning Java by Building Android Games: Learn Java and Android from scratch by building five exciting games , Third Edition

Arrow left icon
Profile Icon John Horton
Arrow right icon
zł79.99 zł235.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (13 Ratings)
eBook Mar 2021 686 pages 3rd Edition
eBook
zł79.99 zł235.99
Paperback
zł294.99
Subscription
Free Trial
Arrow left icon
Profile Icon John Horton
Arrow right icon
zł79.99 zł235.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (13 Ratings)
eBook Mar 2021 686 pages 3rd Edition
eBook
zł79.99 zł235.99
Paperback
zł294.99
Subscription
Free Trial
eBook
zł79.99 zł235.99
Paperback
zł294.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Learning Java by Building Android Games

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn Java, Android, and object-oriented programming from scratch
  • Find out how to build games including Sub Hunter, Retro Pong, Bullet Hell, Classic Snake, and Scrolling Shooters
  • Create and design your own games by learning all the concepts that a game developer must know

Description

Android is one of the most popular mobile operating systems today. It uses the most popular programming language, Java, as one of the primary languages for building apps of all types. Unlike most other Android books, this book doesn’t assume that you have any prior knowledge of Java programming, instead helps you get started with building Android games as a beginner. This new, improved, and updated third edition of Learning Java by Building Android Games helps you to build Android games from scratch. Once you've got to grips with the fundamentals, the difficulty level increases steadily as you explore key Java topics, such as variables, loops, methods, object-oriented programming (OOP), and design patterns while working with up-to-date code and supporting examples. At each stage, you'll be able to test your understanding by implementing the concepts that you’ve learned to develop a game. Toward the end, you’ll build games such as Sub Hunter, Retro Pong, Bullet Hell, Classic Snake, and Scrolling Shooter. By the end of this Java book, you'll not only have a solid understanding of Java and Android basics but will also have developed five cool games for the Android platform.

Who is this book for?

Learning Java by Building Android Games is for anyone who is new to Java, Android, or game programming and wants to develop Android games. The book will also serve as a refresher for those who already have experience using Java on Android or any other platform but are new to game development.

What you will learn

  • Set up a game development environment in Android Studio
  • Respond to a player's touch and program intelligent enemies who can challenge the player in different ways
  • Explore collision detection, sprite sheets animation, simple tracking and following, AI, parallax backgrounds, and particle explosions
  • Animate objects at 60 FPS and manage multiple independent objects using OOP
  • Work with design patterns such as OOP, singleton, strategy, and entity-component
  • Work with the Android API, the SoundPool API, Paint, Canvas, Bitmap classes, and detect version numbers

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 26, 2021
Length: 686 pages
Edition : 3rd
Language : English
ISBN-13 : 9781800563124
Vendor :
Google
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 26, 2021
Length: 686 pages
Edition : 3rd
Language : English
ISBN-13 : 9781800563124
Vendor :
Google
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 775.97
Android Programming for Beginners
zł185.99
Learning Java by Building Android Games
zł294.99
How to Build Android Apps with Kotlin
zł294.99
Total 775.97 Stars icon

Table of Contents

23 Chapters
Chapter 1: Java, Android, and Game Development Chevron down icon Chevron up icon
Chapter 2: Java – First Contact Chevron down icon Chevron up icon
Chapter 3: Variables, Operators, and Expressions Chevron down icon Chevron up icon
Chapter 4: Structuring Code with Java Methods Chevron down icon Chevron up icon
Chapter 5: The Android Canvas Class – Drawing to the Screen Chevron down icon Chevron up icon
Chapter 6: Repeating Blocks of Code with Loops Chevron down icon Chevron up icon
Chapter 7: Making Decisions with Java If, Else, and Switch Chevron down icon Chevron up icon
Chapter 8: Object-Oriented Programming Chevron down icon Chevron up icon
Chapter 9: The Game Engine, Threads, and the Game Loop Chevron down icon Chevron up icon
Chapter 10: Coding the Bat and Ball Chevron down icon Chevron up icon
Chapter 11: Collisions, Sound Effects, and Supporting Different Versions of Android Chevron down icon Chevron up icon
Chapter 12: Handling Lots of Data with Arrays Chevron down icon Chevron up icon
Chapter 13: Bitmap Graphics and Measuring Time Chevron down icon Chevron up icon
Chapter 14: Java Collections, the Stack, the Heap, and the Garbage Collector Chevron down icon Chevron up icon
Chapter 15: Android Localization – Hola! Chevron down icon Chevron up icon
Chapter 16: Collections and Enumerations Chevron down icon Chevron up icon
Chapter 17: Manipulating Bitmaps and Coding the Snake Class Chevron down icon Chevron up icon
Chapter 18: Introduction to Design Patterns and Much More! Chevron down icon Chevron up icon
Chapter 19: Listening with the Observer Pattern, Multitouch, and Building a Particle System Chevron down icon Chevron up icon
Chapter 20: More Patterns, a Scrolling Background, and Building the Player's Ship Chevron down icon Chevron up icon
Chapter 21: Completing the Scrolling Shooter Game Chevron down icon Chevron up icon
Chapter 22: What Next? Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(13 Ratings)
5 star 69.2%
4 star 7.7%
3 star 0%
2 star 0%
1 star 23.1%
Filter icon Filter
Top Reviews

Filter reviews by




Justin Horner Apr 15, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
There's a tricky balance between writing resources targeted to beginners while also introducing game development. I'm happy to say this book balances these two with ease and is one of the best introductions to game development I've seen in quite a while.The author follows a spiral-based curriculum where concepts are introduced with only the information you need to accomplish the goal. They are revisited to learn more detail when required. This approach allows the reader to make progress quickly by knowing what's necessary to achieve the goal and gain knowledge as complexity needs to increase.You'll start by learning the absolute basics of variables, functions, and how to use the Android SDK to render lines, shapes, and text. As you continue through the book, you'll be introduced to Object-Oriented Programming. You'll learn about encapsulation, polymorphism, and inheritance, Heap, Stack, Garbage Collector, Localization, Design Patterns, and much more.I first learned programming to make games. Of course, my bias here is that game development is a fantastic way to learn programming. I believe this is an excellent book to begin your journey!
Amazon Verified review Amazon
Amazon Customer Mar 31, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is suitable for beginners who would like to learn Java and Android. This book covers Java, Object-Oriented Programming, and Game development for Android and the book teaches you how to use Java for android app development. The author has tried so hard to keep it simple and understandable for anyone starting programming in Java. The author has explained every topic in detail and all programs are well explained. In each chapter, the necessary knowledge for both Java and Android is being conveyed to the extent that should be sufficient to understand the programs. This book is comprehensive, up to date, and easy to follow.
Amazon Verified review Amazon
Kindle-Kunde Apr 29, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Learning coding with fun!I would recommend this book for everyone.For beginners as for advanced learners.Lots of good examples and lot of fun.
Amazon Verified review Amazon
Jorge Felico May 27, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have been wanting to get into android development for the longest time but the thought of learning a new programming language was daunting. I found this book to be very informative with easy to follow Java examples to build simple Android games. I would definetly recommend to anyone wanting to pick up Android development with Java.
Amazon Verified review Amazon
Jarvis Hill Apr 07, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book did a great job of introducing me to the fundamental of Java. I end up creating several games and learned a lot about Java. In the beginning, I start off learning the basics. It tackled manipulating variables; understanding and using methods; how to use conditional statements and operators; and how to use and import classes. As I advance through the book and tackle more complex games, I started to learn about Object Orient Programing, Managing Memory, Design Patterns, and more. This has to be one of the best ways to learn Java.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.

Modal Close icon
Modal Close icon