Example: Creating a game that uses graphics scaling to support multiple screen resolutions

This example MIDlet shows you how to create a game that supports multiple screen resolutions. The MIDlet demonstrates a way of covering practically all screen resolutions in one MIDlet by using a scaling algorithm for the graphics. The MIDlet itself is basically an Arkanoid clone, but with electric frosting.

Figure: Explonoid MIDlet

Prerequisites

You need the following to develop and test this MIDlet:

  • Series 40 3rd Edition SDK or newer.

    Note: The Series 40 full touch version of the MIDlet requires Nokia SDK 2.0 for Java or newer.

  • Series 40 3rd Edition device or newer.

For instructions on how to get started with Java ME, see section Getting started.

Development

For more information about the MIDlet, see:

  • Design for information about the design and functionality of the MIDlet.

  • Implementation for information about implementing the MIDlet.

You can download the project files for the MIDlet from the download page.