Chapter 5. Developing Action Games

Using the MIDP 2.0 game and media APIs to create games.

Games are among the most popular applications for mobile devices. MIDP 1.0 allowed developers to create games, but contained no APIs or other explicit support for game development. MIDP 2.0 contains a Game API (the package) that provides several classes that are highly useful in games. Topics covered in this chapter include:

  • Game design concepts: discusses an architecture that updates and displays the game world continuously while monitoring for user input.

  • Managing player input: covers techniques for maximum code portability.

  • Sprites and animation: includes collision detection, backgrounds, layers, and trade-offs between processing ...

Get Developing Scalable Series 40 Applications: A Guide for Java Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.