Lunar Lander

Lunar Lander
Category: 
Arcade
Developer: 
Google Inc

Submitted: 
14 Nov 2007
Updated: 
14 Nov 2007

This is yet another sample game, which was extracted from the Android's SDK. It showcases a simple 2D graphic implementation on this platform.

Lunar Lander is an arcade game, where the player must correctly land a lunar module exactly on the green landing pad, located on the surface of the moon. The moon's gravitation field pulls the module down. Use the engine to resist hard landing but remember that the lunar module has a limited amount of fuel.

For the developers, this simple application demonstrates how to:

  • load and draw resources
  • take keystrokes
  • animate by calling invalidate() from draw()
  • handle onPause() in an animation
  • and more...

The source code is included

The source code is included in the Android SDK.

Open Source

Yes, please, share code.
It is the main idea of Android to open source code for other developers.

Will you also open the source code

As this is a demo application, will you also open the source code? So that we can learn by more examples, that will be more quick than reading the documents.

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
4 + 15 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.