Game API - Explonoid

Description

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

For a tutorial that shows you how to create this MIDlet, see section Example: Creating a game that uses graphics scaling to support multiple screen resolutions.

Compatibility

This MIDlet is provided in two versions:

  • The regular version is compatible with Series 40 3rd Edition and S60 3rd Edition FP1 devices and newer.

  • The Series 40 full touch version is compatible with Series 40 3rd Edition and S60 3rd Edition FP1 devices and newer, but the Series 40 full touch features are only available on Series 40 full touch devices with Java Runtime 2.0.0 for Series 40 or newer.

This MIDlet has been tested on the following devices:

  • Nokia 3110 Classic (Series 40 3rd Edition FP2)

  • Nokia 6280 (Series 40 3rd Edition)

  • Nokia Asha 201 (Java Runtime 1.1.0 for Series 40)

  • Nokia Asha 306 (Java Runtime 2.0.0 for Series 40)

  • Nokia Asha 311 (Java Runtime 2.0.0 for Series 40)

  • Nokia E6-00 (Symbian Anna with Java Runtime 2.2 for Symbian)

  • Nokia E7-00 (Symbian Anna with Java Runtime 2.2 for Symbian)

  • Nokia E7-00 (Symbian Belle with Java Runtime 2.3 for Symbian)

  • Nokia E51 (S60 3rd Edition FP1)

  • Nokia E71 (S60 3rd Edition FP1)

  • Nokia N8-00 (Symbian Anna with Java Runtime 2.2 for Symbian)

  • Nokia N95 (S60 3rd Edition FP1)

  • Nokia X3-02 (Series 40 6th Edition FP1)

  • Nokia X6-00 (S60 5th Edition)

MIDlet project

The MIDlet project files are packaged as a zip file. The zip file includes two projects: the regular version and the Series 40 full touch version. To download the zip file, click the following link:

Download Explonoid

Table: MIDlet details (regular version)

MIDlet version

1.1.0

Creation date

25 May 2012

IDE

Eclipse and NetBeans

SDK

Series 40 6th Edition FP1 SDK

Table: MIDlet details (Series 40 full touch version)

MIDlet version

1.1.0

Creation date

25 May 2012

IDE

Eclipse and NetBeans

SDK

Nokia SDK 2.0 for Java

For earlier versions of the MIDlet, see the Nokia Developer Project.

MIDlet classes

The MIDlet consists of the following packages and classes (click to view the full source code):

Note: The source code is from the Series 40 full touch version of the MIDlet. To view the source code of the regular version, see the source code files in the zip file.