Chapter    7

3D Shooters for Quake II

This chapter builds upon the previous one to deliver the next great and popular PC engine: Quake II. Quake II is  the first-person shooter video game developed by id Software and distributed by Activision. What makes this chapter unique is that, thanks to the wonderful reusability of Java and the power of the C language, you can do the following:

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

You’ll start by learning how to set nimble Java wrappers to get the engine running quickly in Android, ...

Get Pro Android Games, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.