O'Reilly logo

Pro Android Games, Third Edition by Massimo Nardone, Vladimir Silva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    3

More Gaming Tricks with OpenGL and JNI

Chapter 2 provided a solid introduction to some basic gaming techniques for Android, including handling audio/video and I/O events Now it’s time to ramp things up..

In this chapter, you will learn a neat trick using OpenGL code in Java. Any game developer knows that OpenGL is the Holy Grail of advanced game development. You won’t find any powerful games that are not written with this API, because it takes advantage of hardware acceleration, which is infinitely superior to any kind of software renderer.

OpenGL can be a scary subject to the newcomer due to its complexity. But you don’t have to be an OpenGL guru to understand what it does and how to draw elements with this API. All you need is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required