Moon Lander


http://i.piccy.info/i7/b73482147214592597ee1540ff4b7e3c/1-8-594/29809876/screen_500.jpg

http://i.piccy.info/a3/2012-07-10-20-38/i7-3237700/493x338-r/i.gif


http://i.piccy.info/i7/816b93986cb560c8ebea6b5943e048b6/1-8-639/24276154/editor_500.jpg

http://i.piccy.info/a3/2012-07-10-20-38/i7-3243348/471x354-r/i.gif

Moon Lander is space game. You need to land your spaceship onto the special platform.

Controls

Use Up/Left/Right keys to control your rocket.
M - mute sound.
P - pause.
Space - play next level (if landed).
E - edit current level
Shift+E - edit empty level

in editor

Escape - exit
M - mute game
R - test level
S - save level (will be saved to saved_levels/ dir)
L - load level

1 - pointer tool (do nothing)
2 - drawer tool (draw map) *
3 - place flag
4 - place landing platform **
5 - place rocket ***

* - Click at left screen bound (where circle near cursor drawn);
click on the map to place points (now next point must have greater x coordinate, than prev. point);
click at right screen bound (circle is drawn too) to finish map drawing.
Use additional keys with drawer tool:

Backspace - delete last point

** - Use additional keys with landing tool:
Mouse wheel up/down - make platform wider or narrower (for 10 pixels).
Shift + wheel up/down - change platform size (with step 50 pixels).
Ctrl + wheel up/down - change platform size (with step 1 pixels).

*** - Use additional keys with rocket tool:
Mouse wheel up/down - rotate rocket angle (for 1 degree).
Shift + wheel up/down - rotate rocket angle (for 10 degrees).
Ctrl + wheel up/down - rotate rocket angle (for 0.1 degree).
Up - set rocket direction angle 90
Down - set rocket direction angle 270
Left - set rocket direction angle 180
Right - set rocket direction angle 0

Web page

Download lastest distributive
Download lastest jar
Github repo

I love lunar lander.

As a kid this game made me realize how difficult space travel and stuff must be x)

Finished it. Last Level was hard though =D
But I love a good challenge.

http://img69.imageshack.us/img69/7856/wonwon.jpg

Sorry about the Fraps FPS =P

Its great and really shows how much game you can get without using much graphics.

Music is a little bit too loud, but other than that its great.

Thanks for your reply! I like it :slight_smile:

By the way, you can create your own levels. Create your level from one of default in data/levels/.
And don’t forget to add it into data/levels/levelset.json file.

Edit map (x0, y0, x1, y1, … , xn, yn terrain points), flag and land (x0, y0, x1, y1 from-to points, horisontal only yet) properties.

Good luck :slight_smile:

If you write small simple map editor, I would.
Doing it in text is quite tedious =P

Yep, I think level editor is good idea.

As Lunar Lander fun, have you other ideas about game? May be add fuel? May be make rocket smaller? Or create bigger maps and make camera movable (but I don’t like this :))?

try to find “Atari Classics Evolved” or videos of it. It has a remake of lunar lander which would give you A LOT of ideas.

Ehm, I keep dying…
I land ever so gracefully on the platform with the flag, with as little force as I can (about 0.28), with an angle of 90.4, and it says I crashed. What am I doing wrong?

Vx speed limit on landing: 0.15 0.20.
Vy speed limit on landing: 0.20 0.50.

Land it softly :slight_smile:

This is great, however a little bit difficult.

http://www.javadaemon.com/pictures/crash.PNG

May be you are right :slight_smile: Vy bound now is 0.3 0.5. Download new MoonLander.jar here. Full game distributive is updated too.

Landing angle is 90 +/- 5 degrees.

Thanks for your comments.

That sounds easier! I gave it a try again. Still crashed, under circumstances I thought were alright.
EDIT: I did exchange the .jar for the new one, by the way.

http://www.javadaemon.com/pictures/crash2.PNG

Too big Vx speed :slight_smile:
Try new jar from same link.

|Vx| <= 0.2
|Vy| <= 0.5


http://i.piccy.info/i7/3c2cd8e24d7f87528fb6567bacc01044/1-8-617/37732615/landed_500.jpg

That’s really easy :slight_smile:

I won!

IMHO, it should be:

|Vx| <= 0.2
Vy >= -0.5

EDIT: fixed typo :stuck_out_tongue:

Use abs (|x|), Luke ;D

I just have to say to people who think this is difficult:
First thing I thought about this game while playing was “well its a little too easy”

real lunar lander kicks your ass.

Hurray - I won! Sadly, several crews were killed in the process. I love the last level starting position (no spoilers).

I’m always a sucker for a Lunar Lander style game. As I recall, in the original you also had to conserve thrust fuel, which was even more brutal. I always wanted to conserve fuel, so I’d have more on the next level, but I don’t think it worked that way.

Your difficulty balance is good. Original Lunar Lander always made me walk away from the machine with disgust (after spending several quarters).

How about style points for not torching the flag?

Overall, your Moon Lander ran great, sounds good, and controls well. Thanks for posting it!

Thanks for playing and commenting. :slight_smile:

yeah ;D
how about for each rotation you get some style points =D
certainly something that did never exist in any lunar lander, to my knowledge.

Like this? ;D

2y1gLuOu0Ic

yes ! =D

now do 3 rotations =D