Get the embed code

Preview the embedded widget

Close
Lunar Lander

Lunar Lander

FREE

(48 stars)

(2)


Downloadfor Android

blong

100 - 500 downloads

Add this app to your lists
View bigger - Lunar Lander for Android screenshot
View bigger - Lunar Lander for Android screenshot
View bigger - Lunar Lander for Android screenshot
Try and land your lunar module slowly on the moon landing pad without coming in too fast or at a bad angle.

This simple Lunar Lander game comes from the Android SDK. Originally written in Java, this has been ported to Oxygene for Java and had some bugs fixed along the way:

1) The original required a D-Pad (directional touchpad) or physical keyboard on the device. This version has been extended to support screen touches to represent the D-Pad.
If you consider the screen divided into 4 triangles by drawing lines across the two diagonals, touching those triangles represents a D-Pad action:

- upper triangle = D-Pad up = start game or pause
- left triangle = D-Pad left = Q = rotate left
- right triangle = D-Pad right = W = rotate right
- bottom triangle = D-Pad center = Space = fire thrusters

Who knows, maybe an update might have this information added to an About screen. Perhaps not though - the point is to make the compiled/fixed demo available online.

2) The original had poor thread management and would crash out (Force Close) when switched away from and then back to. This version has been amended to overcome that problem.

3) In the original demo, if you had just lost or won, then successfully switched away and back to the app, when you resumed you'd immediately lose or win again.

The game is only a simple demo available to any Android developer - don't expect too much of it! It's also pretty tricky :-) It's uploaded here simply to make available the slight improvements of the bug fix and touch support, and because it's coded in Oxygene for Java.

If there are other bugs in the game, simple as it is, please let me know and I'll try to address them.

Tags: android code lunar lander, android lunar lander crash on screen rotate, android lunar lander crashes, android lunar lander fix, android sdk dpad.

Comments and ratings for Lunar Lander

  • (48 stars)

    by cannon on 12/07/2012

    It is extremely hard to control. I'm uninstalling it.