Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Java by Building Android Games

You're reading from   Learning Java by Building Android Games Extend your game development skills while learning Java – follow this book and learn Java for Android to enter the world of Android games development with greater confidence

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781784398859
Length 392 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
John Horton John Horton
Author Profile Icon John Horton
John Horton
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Why Java, Android, and Games? FREE CHAPTER 2. Getting Started with Android 3. Speaking Java – Your First Game 4. Discovering Loops and Methods 5. Gaming and Java Essentials 6. OOP – Using Other People's Hard Work 7. Retro Squash Game 8. The Snake Game 9. Making Your Game the Next Big Thing A. Self-test Questions and Answers Index

Chapter 1. Why Java, Android, and Games?

Welcome to Learning Java by Building Android Games, which I hope is just the beginning of your exciting journey into designing and writing games. By the end of this book, we will have made four complete games: a math quiz with dynamically increasing difficulty, a memory game in the style of the classic Simon toy, a pong-style squash game, and a clone of the classic Snake game.

Besides these games, we will build more than a dozen working apps to practice and demonstrate individual concepts to aid our learning of Java, Android, and games. Our games and apps will feature sound FX, graphics, and animations. We will learn everything from using the standard Android User Interface (UI) designer to creating smooth animations by plotting individual pixels.

Although I will encourage you to work with me and implement the specific projects that are detailed step by step throughout the book, I fully expect that once you grasp the different concepts, you will want to use them in your own unique creations without delay. This is exactly what I hope you will be inspired to do.

The game projects themselves are not the objective of the book but the means to a much loftier goal. By the end of the book, you will be able to design and implement your own 2D Android games, to sell or just to give away, on Google Play.

Tip

There is a bit of ground work to cover first, but I promise it won't take long and it won't be complicated either. Anyone can learn to program.

However, there are so many differing opinions among experts, which breeds confusion among beginners concerning the best ways of learning to program. So it is a good idea to look at why learning Java, Android, and games is an ideal pathway for beginners. This will be the first thing we will discuss in this book.

Here is what we will learn in this chapter:

  • Is this book for me?
  • Why should I use games to learn to program?
  • Why should I learn Java and Android?
  • Setting up our development environment
You have been reading a chapter from
Learning Java by Building Android Games
Published in: Jan 2015
Publisher:
ISBN-13: 9781784398859
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image