Chapter 6. 3D Shooters Episode I: Wolfenstein 3D for Android

The next two chapters are my personal favorites and the most exciting of this book. We start by looking at the real thing: Wolfenstein 3D (also referred to as Wolf 3D), the godfather of all 3D shooters. The main goal of this chapter is to show you how easy is to bring Wolf 3D from the PC to the Android device, but also in this chapter, you will learn how to do the following:

  • Maximize code reuse by compiling high-performance native code in a dynamic shared library.

  • Write JNI code to connect Java and C subroutines.

  • Cascade graphics back and forth the native and Java layers.

  • Handle sound requests sent by the native layer with the Android media player.

  • Build the Android project and test in the ...

Get Pro Android Games 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.