This is a tank game created with Java ME. It demonstrates the usage of gaming features in Java ME such as sprites, tiles and collision detection. In the game the player's objective is to defend the base and destroy all enemy tanks.
Figure: BattleTank 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 with Game API.
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 application has been tested on Nokia Asha 501, Nokia Asha 311, Nokia Asha 306, Nokia Asha 305, Nokia Asha 303, Nokia Asha 302, Nokia Asha 203, Nokia Asha 202 and Nokia Asha 201.
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
MIDlet version |
1.4 |
Creation date |
18 July 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 BattleTank at Nokia Developer Projects.
The MIDlet consists of the following packages and classes (click to view the full source code):
com.nokia.example.battletank
com.nokia.example.battletank.game
com.nokia.example.battletank.game.audio
com.nokia.example.battletank.game.dialog
com.nokia.example.battletank.game.entities
com.nokia.example.battletank.menu