O'Reilly logo

Developing Scalable Series 40 Applications: A Guide for Java Developers by Kevin Sharp, Michael Juntao Yuan

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 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 javax.microedition.lcdui.game 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 ...

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