Table of Contents
Preface
Chapter 1: Java, Android, and Game Development
Technical requirements
Windows
Mac
Linux
What's new in the third edition?
Why Java, Android, and games?
The Java stumbling block
The games we will build
Sub' Hunter
Pong
Bullet Hell
Snake Clone
Scrolling Shooter
How Java and Android work together
Run that by me again – what, exactly, is Android?
Setting up Android Studio
Starting the first project – Sub' Hunter
Android Studio and our project – a very brief guided tour
The Project panel
The Editor window
Refactoring MainActivity to SubHunter
Locking the game to full screen and landscape orientation
Amending the code to use the full screen and the best Android class
Deploying the game so far
Running the game on an Android ...
Get Learning Java by Building Android Games - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.