Book Image

Learning Android Game Development

By : Nikhil Malankar
Book Image

Learning Android Game Development

By: Nikhil Malankar

Overview of this book

In this book, we’ll start with installing Android studio and its components, and setting it up ready for Android N. We teach you how to take inputs from users, create images and interact with them, and work with sprites to create animations. You’ll then explore the various collision detection methods and use sprites to create an explosion. Moving on, you’ll go through the process of UI creation and see how to create buttons as well as display the score and other parameters on screen. By the end of the book, you will have a working example and an understanding of a 2D platform game like Super Mario and know how to convert your 2D games to 3D games.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
4
Creating Sprites and Interactive Objects

Chapter 9. Converting Your Game from 2D to 3D

Now, be aware that making a 3D game from scratch in Android Studio is a Herculean task. It isn't absolutely essential to make a game from scratch in 3D because there are plenty of tools and game engines available on the market, which eliminate the requirement of having to work on creating everything from scratch. However, an understanding of how the nuts and bolts operate behind the scenes will definitely help you in the long run.

We will learn the basics of some advanced concepts in this chapter, and by the end of this chapter, you will have an understanding of how to create a basic 3D object in Android Studio. For the purpose of this chapter, we will create a new Android Studio project since we will not continue in our previous game project folder. However, before we get started, let's take a look at the concepts that we will be learning in brief. We will learn the following concepts in this chapter:

  • Introduction to OpenGL ES
  • Learning about the...