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 running on a Nokia Asha software platform device
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.
You need the following to develop and test this MIDlet:
Nokia Asha SDK 1.0
Nokia Asha software platform 1.0 or Series 40 phone with CLDC 1.1, MIDP 2.1 APIs
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
MIDlet version |
1.2.1 |
Creation date |
27 June 2013 |
IDE |
Nokia IDE for Java ME (Eclipse) and NetBeans |
SDK |
Nokia Asha SDK 1.0 |
For possible newer version, other updates or additional documentation, check the Explonoid at Nokia Developer Projects.
The MIDlet consists of the following packages and classes (click to view the full source code):
com.nokia.example.explonoid
com.nokia.example.explonoid.audio
com.nokia.example.explonoid.effects
com.nokia.example.explonoid.game
com.nokia.example.explonoid.menu
com.nokia.example.explonoid.sensors