๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Learning Java by Building Android Games: Learn Java and Android from Scratch by Building Six Exciting Games

โœ Scribed by Horton, John


Publisher
Packt Publishing Ltd
Year
2018
Tongue
English
Edition
2nd edition
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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 ...;Cover; Copyright; Contributors; Table of Contents; Preface; Chapter 1: Java, Android and Game Development; What's new in the second edition?; Why Java, Android and Games?; Java: The first stumbling block; The games you will build; Sub' Hunter; Pong; Bullet Hell; Snake Clone; Scrolling Shooter; Open-World Platformer; How Java and Android work; Setting up Android Studio; Final step; Starting the first project: Sub' Hunter; Extra step 1; Extra step 2; Android Studio and our project -- A very brief guided tour; The Project panel; The Editor window

โœฆ Table of Contents


Cover
Copyright
Contributors
Table of Contents
Preface
Chapter 1: Java, Android and Game Development
What's new in the second edition?
Why Java, Android and Games?
Java: The first stumbling block
The games you will build
Sub' Hunter
Pong
Bullet Hell
Snake Clone
Scrolling Shooter
Open-World Platformer
How Java and Android work
Setting up Android Studio
Final step
Starting the first project: Sub' Hunter
Extra step 1
Extra step 2
Android Studio and our project --
A very brief guided tour
The Project panel
The Editor window Locking the game to full-screen and landscape orientationDeploying the game so far
Running the game on an Android emulator
Running the game on a real device
Summary
Chapter 2: Java: First Contact
Planning the Sub' Hunter game
Actions flowchart/diagram
Code comments
Mapping out our code using comments
Introduction to Java methods
Overriding methods
Structuring Sub' Hunter with methods
Introduction to Object Oriented Programming
Classes and Objects
The important thing about OOP, Classes, and Objects
Classes, objects, and instances Final word on OOP, Classes, and Objects --
for nowUsing Java packages
Adding classes by importing packages
Linking up our methods
Summary
Chapter 3: Variables, Operators and Expressions
Handling syntax and jargon
Java Variables
Different types of variables
Primitive types
Reference variables
How to use variables
Declaring variables
Initializing variables
Making variables useful with operators
Most used operators in this book
Casting
Concatenation
Declaring and Initializing the Sub' Hunter Variables
Planning the variables
Declaring the variables Handling different screen sizes and resolutionsHandling different screen resolutions part 1: Initialising the variables
Errors, warnings, and bugs
Printing Debugging Information
Testing the game
Summary
Chapter 4: Structuring Code with Java Methods
Methods
Methods revisited and explained further
The method signature
Modifier
Return type
A closer look at method names
Parameters
Doing things in the method body
Method Overloading by Example
Creating a new project
Coding the method overloading mini-app
Running the method overloading mini-app
Scope: Methods and Variables Revisiting the code and methods we have used alreadyGenerating random numbers to deploy a sub
The Random class and the nextInt method
Adding Random based code to newGame
Testing the game
Summary
Chapter 5: The Android Canvas Class --
Drawing to the Screen
Understanding the Canvas class
Getting started drawing with Bitmap, Canvas, and ImageView
Canvas and Bitmap
Paint
ImageView and Activity
Canvas, Bitmap, Paint and ImageView quick summary
Using the Canvas class
Preparing the objects of classes
Initializing the objects
Setting the Activity content
Canvas Demo app

โœฆ Subjects


Application software--Development;Computers--Programming--Games;Computers--Programming--Object Oriented;Games development & programming;Java (Computer program language);Mobile & handheld device programming--Apps programming;Object-oriented programming (OOP);Electronic books;Android (Electronic resource);Application software -- Development;Computers -- Programming -- Games;Computers -- Programming -- Object Oriented;Mobile & handheld device programming -- Apps programming


๐Ÿ“œ SIMILAR VOLUMES


Learning Java by Building Android Games:
โœ John Horton ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Get ready to learn Java the fun way by developing games for the Android platform with this new and updated third edition</b></p><h4>Key Features</h4><ul><li>Learn Java, Android, and object-oriented programming from scratch</li><li>Find out how to build games including Sub Hunter, Retro Pong, B

Learning Java by Building Android Games:
โœ John Horton ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Get ready to learn Java the fun way by developing games for the Android platform with this new and updated third edition</b></p><h4>Key Features</h4><ul><li>Learn Java, Android, and object-oriented programming from scratch</li><li>Find out how to build games including Sub Hunter, Retro Pong, B

Learning Java by Building Android Games
โœ John Horton [John Horton] ๐Ÿ“‚ Library ๐Ÿ“… 2015 ๐Ÿ› Packt Publishing ๐ŸŒ English

<span><p><b>Get ready for a fun-filled experience of learning Java by developing games for the Android platform</b></p><p><b>In Detail</b></p><p>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 program