资源说明:内容简介:
Do you remember landmark games like Wolfenstein 3D, Doom, and Asteroids? Well, here’s an exciting opportunity to build and/or port these games to one of the hottest mobile and netbooks platforms today: Google’s Android.
Pro Android Games teaches you how to build cool games like Space Blaster and the classic Asteroids from scratch on the latest Android platform. This book also shows you how to port other classic freeware/shareware games like Doom and Wolfenstein 3D from C using the Java Native Interface (JNI) for Android.
This book is all about a unique perspective in Android game development: a well-balanced, powerful combination of pure Java and hybrid game development, mixing Java and C. By combining the elegant object-oriented features of Java and the raw power of C, there is no limit to the types of games that you can build for the platform. With actionable real-world source code in hand, this book allows you to dive right into games development on Android. You’ll definitely have fun, and perhaps you’ll even make some money. Enjoy!
你将学到:
How to write/port advanced 3D games for any Android device.
How to setup a Linux system for hybrid game compilation.
How to combine Java and C code in an elegant manner by building a simple Java application on top of a native library.
How to tackle pure Java gaming with two practical games: Space Blaster and the arcade classic Asteroids.
How to mix OpenGL API calls in Java and C for high performance 3D graphics using the 3D cubes sample by Google.
How to bring two of the greatest PC 3D shooters to the Android platform: Wolfenstein 3D and Doom using Java and C.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。