O'Reilly logo

Advanced Android 4 Games by 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 7

3D Shooters for Quake II

This chapter builds upon the previous one to deliver the next great PC engine: Quake II. What makes this chapter unique is that, thanks to the wonderful reusability of Java and the power of the C language, we will be able to do the following:

  • Reuse the thin Java wrappers to the Quake engine from Chapter 6 with no changes whatsoever.
  • Keep 99 percent of the native engine intact with the help of NanoGL.
  • Make tiny changes to the C code  in the remaining 1 percent of the native engine in order to make it Android-friendly.

We'll start by learning how to add set nimble Java wrappers to get the engine running quickly in Android, including game startup, video rendering, and key and audio events. Next, we'll look ...

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