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 ...
Get Developing Scalable Series 40 Applications: A Guide for Java Developers 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.