Example: Creating a game with Game API

This example MIDlet shows you how to use the Game API to create a Java game called Battle Tank for Series 40 and Nokia Asha software platform devices.

Figure: Battle Tank in-game view

Prerequisites

You need the following to develop and test this MIDlet:

  • Nokia SDK 1.1 for Java or newer

  • Series 40 device with Java Runtime 1.1.0 for Series 40 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.