O'Reilly logo

Beginning Android Games, Second Edition by Robert Green, Mario Zechner

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 7

OpenGL ES: A Gentle Introduction

Mr. Nom was a great success. Due to its solid initial design and game framework, implementing Mr. Nom was a breeze for us. Best of all, the game runs smoothly even on low-end devices. Of course, Mr. Nom is not a very complex or graphically intense game, so using the Canvas API for rendering proved to be a good idea.

However, when you want to do something more complex, you will hit a wall: Canvas just can’t keep up with the visual complexity of such a game. And if you want to go fancy-pants 3D, Canvas won’t help you either. So . . . what can you do?

This is where OpenGL ES comes to the rescue. In this chapter, first we’ll look briefly at what OpenGL ES actually is and does. We’ll then focus on using ...

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